blob: 6347226f5de8c0cfc03cc8324b790d5104df2e24 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.logserver;
/**
* This interface specifies an API for implementing logserver plugin
* loaders. A plugin loader has two basic tasks: to load or unload
* all of its knows plugins. In addition, if a plugin loader's
* canReload() method returns <code>true</code>, plugins may be loaded
* again after they are unloaded.
* <p>
* <p> Plugins loaded through such reload-capable plugin loaders may
* be upgraded without restarting the server.
*
* @author Stig Bakken
*/
public interface PluginLoader {
/**
* Load all plugins known to this loader.
*/
void loadPlugins();
}
|