org.mule.management.agents
Class JdmkAgent
java.lang.Object
org.mule.management.agents.JdmkAgent
- All Implemented Interfaces:
- Disposable, Initialisable, Lifecycle, Startable, Stoppable, UMOAgent
- public class JdmkAgent
- extends Object
- implements UMOAgent
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
getName
public String getName()
- Specified by:
getName in interface UMOAgent
setName
public void setName(String name)
- Specified by:
setName in interface UMOAgent
getDescription
public String getDescription()
- Specified by:
getDescription in interface UMOAgent
start
public void start()
throws UMOException
- Specified by:
start in interface Startable
- Throws:
UMOException
stop
public void stop()
throws UMOException
- Specified by:
stop in interface Stoppable
- Throws:
UMOException
dispose
public void dispose()
- Specified by:
dispose in interface Disposable
registered
public void registered()
- Specified by:
registered in interface UMOAgent
unregistered
public void unregistered()
- Specified by:
unregistered in interface UMOAgent
initialise
public void initialise()
throws InitialisationException
- Specified by:
initialise in interface Initialisable
- 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.