public interface Plugins
| Modifier and Type | Field and Description |
|---|---|
static String |
WSRP_PLUGIN_EXTENSION_SUFFIX
The extension that identifies WSRP plugins.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createPluginInstance(String className,
Class<T> pluginClass)
Instantiates a plugin implementation using the default constructor of the plugin identified by the specified fully qualified class name, specifying that the implementation
must implement the specified plugin interface.
|
List<String> |
getKnownPluginInterfaceNames()
Retrieves the list of currently known extension points as plugins in our WSRP implementations.
|
List<String> |
getPluginImplementationNames(Class pluginClass,
String defaultImplementationClassName)
Retrieves a list of fully qualified names of detected implementations of the specified WSRP extension interface, providing a default implementation class name.
|
static final String WSRP_PLUGIN_EXTENSION_SUFFIX
List<String> getKnownPluginInterfaceNames()
List<String> getPluginImplementationNames(Class pluginClass, String defaultImplementationClassName)
pluginClass - the Class object representing the WSRP plugin interface we want to retrieve the implementations ofdefaultImplementationClassName - the fully qualified name of the default implementation for the specified plugin<T> T createPluginInstance(String className, Class<T> pluginClass)
T - the type of the pluginclassName - the fully qualified name of the implementation class to instantiatepluginClass - the interface of the plugin of which we want to create an instanceCopyright © 2006-2014 GateIn. All Rights Reserved.