public interface PluginManager
The Plugin Folder configuration is received from the ConfigManager and usually defaults to {workpath}/plugins. The plugins uses Java's SPI and have to implement interfaces from serving-api.
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.Set<T> |
findImplementations(java.lang.Class<T> pluginInterface)
Returns a set of plug-in components implementing the specific service interface.
|
<T> java.util.Set<T> findImplementations(java.lang.Class<T> pluginInterface)
only active plug-ins are returned which are fully initialised at this point.
Set<RequestHandler>
allActiveRequestHandler=findImplementations(RequestHandler.class)
T - generic type of service interfacepluginInterface - the specific service interface