Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.product.jmx
Class MxControlPlugin

java.lang.Object
  extended by org.hyperic.hq.product.GenericPlugin
      extended by org.hyperic.hq.product.ControlPlugin
          extended by org.hyperic.hq.product.jmx.MxControlPlugin

public class MxControlPlugin
extends ControlPlugin


Field Summary
 
Fields inherited from class org.hyperic.hq.product.ControlPlugin
DEFAULT_TIMEOUT, manager, PROP_TIMEOUT, RESULT_FAILURE, RESULT_SUCCESS, STATE_RESTARTING, STATE_STARTED, STATE_STARTING, STATE_STOPPED, STATE_STOPPING, STATE_UNKNOWN
 
Fields inherited from class org.hyperic.hq.product.GenericPlugin
config, FILE_DELIM, FILE_DELIM_ESC, PROP_NAME
 
Constructor Summary
MxControlPlugin()
           
 
Method Summary
 void configure(ConfigResponse config)
           
 void doAction(java.lang.String action, java.lang.String[] args)
          Invokes plugin method with the name of param action.
 java.lang.String getObjectName()
           
protected  void invokeMethod(java.lang.String action, java.lang.String[] args)
           
protected  boolean isRunning()
           
 void setObjectName(java.lang.String objectName)
           
 
Methods inherited from class org.hyperic.hq.product.ControlPlugin
detectState, doAction, getActions, getConfigSchema, getManager, getMessage, getResult, getTimeout, getTimeoutMillis, init, setManager, setMessage, setResult, setTimeout, setTimeout, waitForState
 
Methods inherited from class org.hyperic.hq.product.GenericPlugin
adjustClassPath, getAbsoluteFiles, getConfig, getConfig, getCustomPropertiesSchema, getCustomPropertiesSchema, getCustomPropertiesSchema, getDefaultInstallPath, getLog, getLogName, getManagerProperty, getName, getPlatformName, getPluginClassName, getPluginData, getPluginProperty, getProductPlugin, getProperties, getScriptExtension, getScriptExtension, getScriptExtension, getTypeInfo, getTypeNameProperty, getTypeNameProperty, getTypeProperties, getTypeProperty, getTypeProperty, getTypeProperty, isNetStatEnabled, isWin32, openResource, setData, setName, setTypeInfo, shutdown, toFileList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MxControlPlugin

public MxControlPlugin()
Method Detail

getObjectName

public java.lang.String getObjectName()

setObjectName

public void setObjectName(java.lang.String objectName)

configure

public void configure(ConfigResponse config)
               throws PluginException
Overrides:
configure in class GenericPlugin
Throws:
PluginException

isRunning

protected boolean isRunning()
Overrides:
isRunning in class ControlPlugin

doAction

public void doAction(java.lang.String action,
                     java.lang.String[] args)
              throws PluginException
Description copied from class: ControlPlugin
Invokes plugin method with the name of param action.

Overrides:
doAction in class ControlPlugin
Throws:
PluginException

invokeMethod

protected void invokeMethod(java.lang.String action,
                            java.lang.String[] args)

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.