|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.AbstractAgent org.mule.module.management.agent.DefaultJmxSupportAgent
public class DefaultJmxSupportAgent
Field Summary | |
---|---|
static String |
DEFAULT_HOST
|
static String |
DEFAULT_PORT
|
Fields inherited from class org.mule.AbstractAgent |
---|
muleContext, name |
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Startable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Stoppable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
DefaultJmxSupportAgent()
|
Method Summary | |
---|---|
protected JdmkAgent |
createJdmkAgent()
|
JmxAgent |
createJmxAgent()
|
protected JmxServerNotificationAgent |
createJmxNotificationAgent()
|
protected Log4jAgent |
createLog4jAgent()
|
protected Mx4jAgent |
createMx4jAgent()
|
protected YourKitProfilerAgent |
createProfilerAgent()
|
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 |
getPort()
Getter for property 'port'. |
void |
initialise()
Method used to perform any initialisation work. |
protected boolean |
isAgentRegistered(Agent agent)
|
boolean |
isLoadJdmkAgent()
Getter for property 'loadJdmkAgent'. |
boolean |
isLoadMx4jAgent()
Getter for property 'loadMx4jAgent'. |
boolean |
isLoadProfilerAgent()
Getter for property 'loadProfilerAgent'. |
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 |
setLoadProfilerAgent(boolean loadProfilerAgent)
Setter for property 'loadProfilerAgent'. |
void |
setPort(String port)
Setter for property 'port'. |
void |
start()
|
void |
stop()
|
void |
unregistered()
|
Methods inherited from class org.mule.AbstractAgent |
---|
getDependentAgents, getName, setMuleContext, setName |
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 getDescription()
getDescription
in interface Agent
getDescription
in class AbstractAgent
public void registered()
public void unregistered()
public void start() throws MuleException
MuleException
public void stop() throws MuleException
MuleException
public void dispose()
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
initialise
in class AbstractAgent
InitialisationException
- if a fatal error occurs
causing the Mule instance to shutdown
RecoverableException
- if an error occurs that can be recovered frompublic JmxAgent createJmxAgent()
protected Log4jAgent createLog4jAgent()
protected RmiRegistryAgent createRmiAgent()
protected JmxServerNotificationAgent createJmxNotificationAgent()
protected Mx4jAgent createMx4jAgent()
protected JdmkAgent createJdmkAgent()
protected YourKitProfilerAgent createProfilerAgent()
protected boolean isAgentRegistered(Agent 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 boolean isLoadProfilerAgent()
public void setLoadProfilerAgent(boolean loadProfilerAgent)
loadProfilerAgent
- Value to set for property 'loadProfilerAgent'.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 |