|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.management.agents.DefaultJmxSupportAgent
TODO document.
Field Summary | |
static String |
DEFAULT_HOST
|
static String |
DEFAULT_PORT
|
Constructor Summary | |
DefaultJmxSupportAgent()
|
Method Summary | |
protected JdmkAgent |
createJdmkAgent()
|
protected JmxAgent |
createJmxAgent()
|
protected JmxServerNotificationAgent |
createJmxNotificationAgent()
|
protected Log4jAgent |
createLog4jAgent()
|
protected Mx4jAgent |
createMx4jAgent()
|
protected RmiRegistryAgent |
createRmiAgent()
|
void |
dispose()
A lifecycle method where implementor should free up any resources. |
String |
getDescription()
Should be a 1 line description of the agent |
String |
getHost()
Getter for property 'host'. |
String |
getName()
Gets the name of this agent |
String |
getPort()
Getter for property 'port'. |
void |
initialise()
Method used to perform any initialisation work. |
protected boolean |
isAgentRegistered(UMOAgent agent)
|
boolean |
isLoadJdmkAgent()
Getter for property 'loadJdmkAgent'. |
boolean |
isLoadMx4jAgent()
Getter for property 'loadMx4jAgent'. |
void |
registered()
|
void |
setCredentials(Map credentials)
Setter for property 'credentials'. |
void |
setHost(String host)
Setter for property 'host'. |
void |
setLoadJdmkAgent(boolean loadJdmkAgent)
Setter for property 'loadJdmkAgent'. |
void |
setLoadMx4jAgent(boolean loadMx4jAgent)
Setter for property 'loadMx4jAgent'. |
void |
setName(String name)
Sets the name of this agent |
void |
setPort(String port)
Setter for property 'port'. |
void |
start()
|
void |
stop()
|
void |
unregistered()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String DEFAULT_HOST
public static final String DEFAULT_PORT
Constructor Detail |
public DefaultJmxSupportAgent()
Method Detail |
public String getName()
getName
in interface UMOAgent
public void setName(String name)
setName
in interface UMOAgent
name
- the name of the agentpublic String getDescription()
getDescription
in interface UMOAgent
public void registered()
registered
in interface UMOAgent
public void unregistered()
unregistered
in interface UMOAgent
public void start() throws UMOException
start
in interface Startable
UMOException
public void stop() throws UMOException
stop
in interface Stoppable
UMOException
public void dispose()
dispose
in interface Disposable
public void initialise() throws InitialisationException
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs
causing the Mule instance to shutdown
RecoverableException
- if an error occurs that
can be recovered fromprotected JmxAgent createJmxAgent()
protected Log4jAgent createLog4jAgent()
protected RmiRegistryAgent createRmiAgent()
protected JmxServerNotificationAgent createJmxNotificationAgent()
protected Mx4jAgent createMx4jAgent()
protected JdmkAgent createJdmkAgent()
protected boolean isAgentRegistered(UMOAgent agent)
public boolean isLoadJdmkAgent()
public void setLoadJdmkAgent(boolean loadJdmkAgent)
loadJdmkAgent
- Value to set for property 'loadJdmkAgent'.public boolean isLoadMx4jAgent()
public void setLoadMx4jAgent(boolean loadMx4jAgent)
loadMx4jAgent
- Value to set for property 'loadMx4jAgent'.public String getPort()
public void setPort(String port)
port
- Value to set for property 'port'.public String getHost()
public void setHost(String host)
host
- Value to set for property 'host'.public void setCredentials(Map credentials)
credentials
- Value to set for property 'credentials'.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |