xmlBlaster 2.1.0 API

org.xmlBlaster.engine.runlevel
Class RunlevelPluginManager

java.lang.Object
  extended by org.xmlBlaster.util.plugin.PluginManagerBase
      extended by org.xmlBlaster.engine.runlevel.RunlevelPluginManager
All Implemented Interfaces:
I_PluginManager

public class RunlevelPluginManager
extends PluginManagerBase

This class is used to load the static plugins, i.e. the plugins loaded by the RunlevelManager.

Author:
Michele Laghi, Marcel Ruff
See Also:
engine.runlevel requirement

Field Summary
 
Fields inherited from class org.xmlBlaster.util.plugin.PluginManagerBase
glob, NO_PLUGIN_TYPE
 
Constructor Summary
RunlevelPluginManager(Global glob)
           
 
Method Summary
 java.lang.String getDefaultPluginName(java.lang.String type, java.lang.String version)
           
protected  java.lang.String getPluginPropertyName()
           
protected  void postInstantiate(I_Plugin plugin, PluginInfo pluginInfo)
          Is called after a plugin in instantiated, allows the base class to do specific actions.
 
Methods inherited from class org.xmlBlaster.util.plugin.PluginManagerBase
createPluginPropertyKey, getDummyPlugin, getFromPluginCache, getGlobal, getName, getPluginObject, getPluginObject, getPluginObject, ignorePlugin, instantiatePlugin, instantiatePlugin, removeFromPluginCache, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunlevelPluginManager

public RunlevelPluginManager(Global glob)
Method Detail

postInstantiate

protected void postInstantiate(I_Plugin plugin,
                               PluginInfo pluginInfo)
                        throws XmlBlasterException
Is called after a plugin in instantiated, allows the base class to do specific actions. Is NOT called when plugin got from cache.

Overrides:
postInstantiate in class PluginManagerBase
Throws:
XmlBlasterException

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 null
version - can be null
Returns:
please return your default plugin classname or null if not specified

getPluginPropertyName

protected java.lang.String getPluginPropertyName()
Overrides:
getPluginPropertyName in class PluginManagerBase
Returns:
The name of the property in xmlBlaster.property, e.g. "Security.Server.Plugin" for "Security.Server.Plugin[simple][1.0]"

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.