org.jboss.console.plugins.helpers
Class BasePluginWrapper

java.lang.Object
  extended byorg.jboss.console.plugins.helpers.AbstractPluginWrapper (src) 
      extended byorg.jboss.console.plugins.helpers.BasePluginWrapper
All Implemented Interfaces:
ConsolePlugin (src) , PluginWrapper (src) , java.io.Serializable

public class BasePluginWrapper
extends AbstractPluginWrapper (src)

See Also:
, Serialized Form

Nested Class Summary
 class BasePluginWrapper.SimplePluginContext (src)
           
 
Nested classes inherited from class org.jboss.console.plugins.helpers.AbstractPluginWrapper (src)
AbstractPluginWrapper.InternalResourceChecker (src) , AbstractPluginWrapper.RootTreeChecker (src) , AbstractPluginWrapper.SingleMBeanChecker (src) , AbstractPluginWrapper.StandardMBeanChecker (src) , AbstractPluginWrapper.SubFolderChecker (src)
 
Field Summary
protected  Interpreter interpreter
           
protected  PluginContext (src) pluginCtx
           
protected  java.lang.String pluginName
           
protected  java.lang.String pluginVersion
           
protected  ScriptPlugin (src) script
           
protected  java.lang.String scriptContent
           
protected  java.lang.String scriptName
           
 
Fields inherited from class org.jboss.console.plugins.helpers.AbstractPluginWrapper (src)
checker, FOLDER_NAME_PARAM, folderName, IS_ROOT_NODE_PARAM, log, MBEAN_CLASS_PARAM, mbeanClass, mbeanServer, OBJECT_NAME_PARAM, objectName, pm, rootContextName, SCRIPT_NAME_PARAM, WRAPPER_CLASS_PARAM
 
Fields inherited from interface org.jboss.console.manager.interfaces.ConsolePlugin (src)
PLUGIN_PROFILES, WEB_PROFILE
 
Constructor Summary
BasePluginWrapper()
           
 
Method Summary
protected  java.lang.String getPluginIdentifier()
           
protected  java.lang.String getPluginVersion()
           
protected  TreeNode (src) getTreeForResource(java.lang.String profile, ManageableResource (src)  resource)
           
 void init(ServletConfig servletConfig)
           
protected  boolean isResourceToBeManaged_Script(PluginManager (src)  master, ManageableResource (src)  resource)
           
protected  boolean isResourceToBeManaged(ManageableResource (src)  resource)
           
protected  void loadScript(java.lang.String scriptName)
           
 void readConfigurationParameters(ServletConfig config)
           
 
Methods inherited from class org.jboss.console.plugins.helpers.AbstractPluginWrapper (src)
createMenus, createResourceNode, createResourceNode, createTreeNode, destroy, encode, findJBossMBeanServer, findPluginManager, fixUrl, getIdentifier, getMBeanServer, getMBeansForClass, getMBeansForQuery, getSubTreeForResource, getSupportedProfiles, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interpreter

protected Interpreter interpreter

pluginName

protected java.lang.String pluginName

pluginVersion

protected java.lang.String pluginVersion

scriptName

protected java.lang.String scriptName

scriptContent

protected java.lang.String scriptContent

script

protected ScriptPlugin (src)  script

pluginCtx

protected PluginContext (src)  pluginCtx
Constructor Detail

BasePluginWrapper

public BasePluginWrapper()
Method Detail

init

public void init(ServletConfig servletConfig)
          throws java.lang.Exception
Specified by:
init in interface PluginWrapper (src)
Overrides:
init in class AbstractPluginWrapper (src)
Throws:
java.lang.Exception

readConfigurationParameters

public void readConfigurationParameters(ServletConfig config)
Overrides:
readConfigurationParameters in class AbstractPluginWrapper (src)

getPluginIdentifier

protected java.lang.String getPluginIdentifier()
Overrides:
getPluginIdentifier in class AbstractPluginWrapper (src)

getPluginVersion

protected java.lang.String getPluginVersion()
Overrides:
getPluginVersion in class AbstractPluginWrapper (src)

getTreeForResource

protected TreeNode (src)  getTreeForResource(java.lang.String profile,
                                      ManageableResource (src)  resource)
Specified by:
getTreeForResource in class AbstractPluginWrapper (src)

isResourceToBeManaged

protected boolean isResourceToBeManaged(ManageableResource (src)  resource)
Overrides:
isResourceToBeManaged in class AbstractPluginWrapper (src)

isResourceToBeManaged_Script

protected boolean isResourceToBeManaged_Script(PluginManager (src)  master,
                                               ManageableResource (src)  resource)
                                        throws java.lang.reflect.UndeclaredThrowableException
Throws:
java.lang.reflect.UndeclaredThrowableException

loadScript

protected void loadScript(java.lang.String scriptName)
                   throws java.lang.Exception
Throws:
java.lang.Exception