org.mule.module.management.agent
Class JmxAgentConfigurer
java.lang.Object
org.mule.module.management.agent.JmxAgentConfigurer
- All Implemented Interfaces:
- MuleContextAware
public class JmxAgentConfigurer
- extends Object
- implements MuleContextAware
Mule now binds to a platform mbeanserver by default and jmx agent is always registered via a
bootstrap process. Thus a namespace handler creates this configurer class instead which propagates
user settings to a jmx agent in the registry (instead of trying to register a duplicate jmx agent).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONNECTOR_SERVER_PROPERTIES
public static final Map<String,Object> DEFAULT_CONNECTOR_SERVER_PROPERTIES
logger
protected static final Log logger
- Logger used by this class
muleContext
protected MuleContext muleContext
locateServer
protected boolean locateServer
- Should MBeanServer be discovered.
JmxAgentConfigurer
public JmxAgentConfigurer()
isCreateServer
public boolean isCreateServer()
setCreateServer
public void setCreateServer(boolean createServer)
isLocateServer
public boolean isLocateServer()
setLocateServer
public void setLocateServer(boolean locateServer)
getConnectorServerUrl
public String getConnectorServerUrl()
setConnectorServerUrl
public void setConnectorServerUrl(String connectorServerUrl)
isEnableStatistics
public boolean isEnableStatistics()
setEnableStatistics
public void setEnableStatistics(boolean enableStatistics)
getMBeanServer
public MBeanServer getMBeanServer()
setMBeanServer
public void setMBeanServer(MBeanServer mBeanServer)
getConnectorServerProperties
public Map<String,Object> getConnectorServerProperties()
setConnectorServerProperties
public void setConnectorServerProperties(Map<String,Object> connectorServerProperties)
- Setter for property 'connectorServerProperties'. Set to
null
to use
defaults (DEFAULT_CONNECTOR_SERVER_PROPERTIES
). Pass in an empty map
to use no parameters. Passing a non-empty map will replace defaults.
- Parameters:
connectorServerProperties
- Value to set for property
'connectorServerProperties'.
setCredentials
public void setCredentials(Map<String,String> newCredentials)
isCreateRmiRegistry
public boolean isCreateRmiRegistry()
setCreateRmiRegistry
public void setCreateRmiRegistry(boolean createRmiRegistry)
setMuleContext
public void setMuleContext(MuleContext context)
- Specified by:
setMuleContext
in interface MuleContextAware
setName
public void setName(String name)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.