org.mule.module.management.agent
Class JdmkAgent
java.lang.Object
org.mule.AbstractAgent
org.mule.module.management.agent.JdmkAgent
- All Implemented Interfaces:
- Agent, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, NamedObject
public class JdmkAgent
- extends AbstractAgent
JdmkAgent configures an Jdmk Http Adaptor for Jmx management,
statistics and configuration viewing of a Mule instance.
TODO MULE-1353
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASSNAME_ADAPTER
public static final String CLASSNAME_ADAPTER
- A FQN of the adaptor class to instantiate via reflection.
- See Also:
- Constant Field Values
DEFAULT_HOSTNAME
public static final String DEFAULT_HOSTNAME
- See Also:
- Constant Field Values
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
DEFAULT_JMX_ADAPTOR_URL
public static final String DEFAULT_JMX_ADAPTOR_URL
- See Also:
- Constant Field Values
JdmkAgent
public JdmkAgent()
createAdaptor
protected Object createAdaptor()
throws Exception
- Throws:
Exception
getDescription
public String getDescription()
- Specified by:
getDescription in interface Agent- Overrides:
getDescription in class AbstractAgent
start
public void start()
throws MuleException
- Throws:
MuleException
stop
public void stop()
throws MuleException
- Throws:
MuleException
dispose
public void dispose()
registered
public void registered()
unregistered
public void unregistered()
initialise
public void initialise()
throws InitialisationException
- Specified by:
initialise in interface Initialisable- Specified by:
initialise in class AbstractAgent
- Throws:
InitialisationException
getJmxAdaptorUrl
public String getJmxAdaptorUrl()
- Returns:
- Returns the jmxAdaptorUrl.
setJmxAdaptorUrl
public void setJmxAdaptorUrl(String jmxAdaptorUrl)
- Parameters:
jmxAdaptorUrl - The jmxAdaptorUrl to set.
getHost
public String getHost()
setHost
public void setHost(String host)
getPort
public String getPort()
setPort
public void setPort(String port)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.