public class DefaultJmxSupportAgent extends AbstractAgent
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_HOST |
static String |
DEFAULT_PORT |
muleContext, namePHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
DefaultJmxSupportAgent() |
getName, setMuleContext, setName, unregisterMeQuietlypublic static final String DEFAULT_HOST
public static final String DEFAULT_PORT
public String getDescription()
getDescription in interface AgentgetDescription in class AbstractAgentpublic void start()
throws MuleException
MuleExceptionpublic void stop()
throws MuleException
MuleExceptionpublic 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 shutdownprotected AbstractJmxAgent lookupJmxAgent(MuleRegistry registry) throws RegistrationException
RegistrationExceptionprotected void registerAgent(Agent agent, MuleRegistry registry) throws MuleException
MuleExceptionpublic 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–2021 MuleSoft, Inc.. All rights reserved.