public class DefaultJmxSupportAgent extends AbstractAgent
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_HOST |
static String |
DEFAULT_PORT |
muleContext, name
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
DefaultJmxSupportAgent() |
Modifier and Type | Method and Description |
---|---|
protected JdmkAgent |
createJdmkAgent() |
AbstractJmxAgent |
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()
Deprecated.
|
ConfigurableJMXAuthenticator |
getJmxAuthenticator() |
String |
getPort() |
void |
initialise()
Method used to perform any initialisation work.
|
protected boolean |
isAgentRegistered(Agent agent) |
boolean |
isLoadJdmkAgent() |
boolean |
isLoadLog4jAgent() |
boolean |
isLoadMx4jAgent() |
boolean |
isLoadProfilerAgent() |
void |
setCredentials(Map<String,String> credentials) |
void |
setHost(String host)
Deprecated.
|
void |
setJmxAuthenticator(ConfigurableJMXAuthenticator jmxAuthenticator) |
void |
setLoadJdmkAgent(boolean loadJdmkAgent) |
void |
setLoadLog4jAgent(boolean loadLog4jAgent) |
void |
setLoadMx4jAgent(boolean loadMx4jAgent) |
void |
setLoadProfilerAgent(boolean loadProfilerAgent) |
void |
setPort(String port) |
void |
start() |
void |
stop() |
getName, setMuleContext, setName, unregisterMeQuietly
public static final String DEFAULT_HOST
public static final String DEFAULT_PORT
public String getDescription()
getDescription
in interface Agent
getDescription
in class AbstractAgent
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.InitialisationException
- if a fatal error occurs
causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic AbstractJmxAgent 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 isLoadLog4jAgent()
public void setLoadLog4jAgent(boolean loadLog4jAgent)
public boolean isLoadJdmkAgent()
public void setLoadJdmkAgent(boolean loadJdmkAgent)
public boolean isLoadMx4jAgent()
public void setLoadMx4jAgent(boolean loadMx4jAgent)
public boolean isLoadProfilerAgent()
public void setLoadProfilerAgent(boolean loadProfilerAgent)
public String getPort()
public void setPort(String port)
@Deprecated public String getHost()
@Deprecated public void setHost(String host)
public ConfigurableJMXAuthenticator getJmxAuthenticator()
public void setJmxAuthenticator(ConfigurableJMXAuthenticator jmxAuthenticator)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.