public class Mx4jAgent extends AbstractAgent
Mx4jAgent configures an Mx4J Http Adaptor for Jmx management,
statistics and configuration viewing of a Mule instance.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_HOSTNAME |
static String |
DEFAULT_JMX_ADAPTOR_URL |
protected static String |
DEFAULT_PATH_IN_JAR |
static int |
DEFAULT_PORT |
static String |
HTTP_ADAPTER_OBJECT_NAME |
muleContext, namePHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
Mx4jAgent() |
| Modifier and Type | Method and Description |
|---|---|
protected mx4j.tools.adaptor.http.HttpAdaptor |
createAdaptor() |
void |
dispose() |
String |
getAuthenticationMethod() |
String |
getDescription() |
String |
getHost() |
String |
getJmxAdaptorUrl() |
String |
getLogin() |
String |
getPassword() |
String |
getPathInJar() |
String |
getPort() |
Map |
getSocketFactoryProperties() |
String |
getXslFilePath() |
void |
initialise() |
boolean |
isCacheXsl() |
void |
setAuthenticationMethod(String authenticationMethod) |
void |
setCacheXsl(boolean cacheXsl) |
void |
setHost(String host) |
void |
setJmxAdaptorUrl(String jmxAdaptorUrl) |
void |
setLogin(String login) |
void |
setPassword(String password) |
void |
setPathInJar(String pathInJar) |
void |
setPort(String port) |
void |
setSocketFactoryProperties(Map socketFactoryProperties) |
void |
setXslFilePath(String xslFilePath) |
void |
start() |
void |
stop() |
protected void |
unregisterMBeansIfNecessary()
Unregister all Mx4j MBeans if there are any left over the old deployment
|
getName, setMuleContext, setName, unregisterMeQuietlypublic static final String HTTP_ADAPTER_OBJECT_NAME
protected static final String DEFAULT_PATH_IN_JAR
public static final String DEFAULT_HOSTNAME
public static final int DEFAULT_PORT
public static final String DEFAULT_JMX_ADAPTOR_URL
protected mx4j.tools.adaptor.http.HttpAdaptor createAdaptor()
throws Exception
Exceptionpublic void initialise()
throws InitialisationException
InitialisationExceptionpublic void start()
throws MuleException
MuleExceptionpublic void stop()
throws MuleException
MuleExceptionprotected void unregisterMBeansIfNecessary()
throws MalformedObjectNameException,
InstanceNotFoundException,
MBeanRegistrationException
public void dispose()
public String getDescription()
getDescription in interface AgentgetDescription in class AbstractAgentpublic String getJmxAdaptorUrl()
public void setJmxAdaptorUrl(String jmxAdaptorUrl)
public Map getSocketFactoryProperties()
public void setSocketFactoryProperties(Map socketFactoryProperties)
public String getLogin()
public void setLogin(String login)
public String getPassword()
public void setPassword(String password)
public String getAuthenticationMethod()
public void setAuthenticationMethod(String authenticationMethod)
public String getXslFilePath()
public void setXslFilePath(String xslFilePath)
public String getPathInJar()
public void setPathInJar(String pathInJar)
public boolean isCacheXsl()
public void setCacheXsl(boolean cacheXsl)
public String getHost()
public void setHost(String host)
public String getPort()
public void setPort(String port)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.