public class JmxAgentConfigurer extends Object implements MuleContextAware
Modifier and Type | Field and Description |
---|---|
static Map<String,Object> |
DEFAULT_CONNECTOR_SERVER_PROPERTIES |
protected boolean |
locateServer
Should MBeanServer be discovered.
|
protected static Log |
logger
Logger used by this class
|
protected MuleContext |
muleContext |
Constructor and Description |
---|
JmxAgentConfigurer() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getConnectorServerProperties() |
String |
getConnectorServerUrl() |
MBeanServer |
getMBeanServer() |
boolean |
isCreateRmiRegistry() |
boolean |
isCreateServer() |
boolean |
isEnableStatistics() |
boolean |
isLocateServer() |
void |
setConnectorServerProperties(Map<String,Object> connectorServerProperties)
Setter for property 'connectorServerProperties'.
|
void |
setConnectorServerUrl(String connectorServerUrl) |
void |
setCreateRmiRegistry(boolean createRmiRegistry) |
void |
setCreateServer(boolean createServer) |
void |
setCredentials(Map<String,String> newCredentials) |
void |
setEnableStatistics(boolean enableStatistics) |
void |
setLocateServer(boolean locateServer) |
void |
setMBeanServer(MBeanServer mBeanServer) |
void |
setMuleContext(MuleContext context) |
void |
setName(String name) |
public static final Map<String,Object> DEFAULT_CONNECTOR_SERVER_PROPERTIES
protected static final Log logger
protected MuleContext muleContext
protected boolean locateServer
public boolean isCreateServer()
public void setCreateServer(boolean createServer)
public boolean isLocateServer()
public void setLocateServer(boolean locateServer)
public String getConnectorServerUrl()
public void setConnectorServerUrl(String connectorServerUrl)
public boolean isEnableStatistics()
public void setEnableStatistics(boolean enableStatistics)
public MBeanServer getMBeanServer()
public void setMBeanServer(MBeanServer mBeanServer)
public void setConnectorServerProperties(Map<String,Object> connectorServerProperties)
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.connectorServerProperties
- Value to set for property
'connectorServerProperties'.public boolean isCreateRmiRegistry()
public void setCreateRmiRegistry(boolean createRmiRegistry)
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public void setName(String name)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.