org.xmlBlaster.engine.distributor.plugins
Class MsgDistributorPluginManager
java.lang.Object
org.xmlBlaster.util.plugin.PluginManagerBase
org.xmlBlaster.engine.distributor.plugins.MsgDistributorPluginManager
- All Implemented Interfaces:
- I_PluginManager
public class MsgDistributorPluginManager
- extends PluginManagerBase
MsgDistributorPluginManager
- Author:
- Michele Laghi
Field Summary |
private static java.lang.String |
defaultPluginName
the default class name to use if nothing specified |
static java.lang.String |
pluginPropertyName
This is the prefix of the name used in xmlBlaster.properties to register the plugins of this type |
Methods inherited from class org.xmlBlaster.util.plugin.PluginManagerBase |
createPluginPropertyKey, getDummyPlugin, getFromPluginCache, getGlobal, getName, getPluginObject, getPluginObject, getPluginObject, ignorePlugin, instantiatePlugin, instantiatePlugin, postInstantiate, removeFromPluginCache, shutdown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultPluginName
private static final java.lang.String defaultPluginName
- the default class name to use if nothing specified
- See Also:
- Constant Field Values
pluginPropertyName
public static final java.lang.String pluginPropertyName
- This is the prefix of the name used in xmlBlaster.properties to register the plugins of this type
- See Also:
- Constant Field Values
MsgDistributorPluginManager
public MsgDistributorPluginManager(Global glob)
getPlugin
public I_MsgDistributor getPlugin(java.lang.String typeVersion,
TopicHandler topicHandler)
throws XmlBlasterException
- Return a specific msgDistributor plugin.
This PluginManager exists once in the scope of a Global instance (check util.Global)
- Parameters:
typeVersion
- The type and version e.g. "ConsumableQueue,1.0"
- Returns:
- null if no plugin was loaded
- Throws:
XmlBlasterException
getPluginPropertyName
public java.lang.String getPluginPropertyName()
- Enforced by PluginManagerBase.
- Overrides:
getPluginPropertyName
in class PluginManagerBase
- Returns:
- The name of the property in xmlBlaster.property "MsgDistributorPlugin"
for "MsgDistributorPlugin[ConsumableQueue][1.0]"
getDefaultPluginName
public java.lang.String getDefaultPluginName(java.lang.String type,
java.lang.String version)
- Specified by:
getDefaultPluginName
in interface I_PluginManager
- Overrides:
getDefaultPluginName
in class PluginManagerBase
- Parameters:
type
- can be nullversion
- can be null
- Returns:
- please return your default plugin class name or null if not specified
Copyright © 1999-2014 The xmlBlaster.org contributers.