|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.util.plugin.PluginRegistry
public class PluginRegistry
One instance of this class is used to keep track of all cached plugins.
Constructor Summary | |
---|---|
PluginRegistry(Global glob)
|
Method Summary | |
---|---|
I_Plugin |
getPlugin(java.lang.String id)
Gets the plugin which has previously been registered with the given id. |
org.xmlBlaster.protocol.I_Driver[] |
getPluginsOfInterfaceI_Driver()
Returns the plugins which are implementing the interface I_Driver. |
java.util.Vector |
getPluginsOfInterfaceI_Queue()
Returns the plugins which are implementing the interface I_Queue. |
boolean |
register(java.lang.String id,
I_Plugin plugin)
Registers the plugin into this registry. |
I_Plugin |
unRegister(java.lang.String id)
unregisters the specified plugin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginRegistry(Global glob)
Method Detail |
---|
public I_Plugin getPlugin(java.lang.String id)
id
- the key under which the plugin to get has been registered.
public boolean register(java.lang.String id, I_Plugin plugin)
id
- the key to use to register this pluginplugin
- the plugin to register
public I_Plugin unRegister(java.lang.String id)
id
- the id under which the plugin has been registered.
public org.xmlBlaster.protocol.I_Driver[] getPluginsOfInterfaceI_Driver()
public java.util.Vector getPluginsOfInterfaceI_Queue()
|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |