FactoryBean implementation that creates an MBeanServerConnection
to a remote MBeanServer exposed via a JMXServerConnector.
Exposes the MBeanServer for bean references.
author: Rob Harrop author: Juergen Hoeller since: 1.2 See Also:MBeanServerFactoryBean See Also:ConnectorServerFactoryBean
Method Summary
public void
afterPropertiesSet() Creates a JMXConnector for the given settings
and exposes the associated MBeanServerConnection.
setConnectOnStartup(boolean connectOnStartup) Set whether to connect to the server on startup.
public void
setEnvironment(Properties environment) Set the environment properties used to construct the JMXConnector
as java.util.Properties (String key/value pairs).
public void
setEnvironmentMap(Map environment) Set the environment properties used to construct the JMXConnector
as a Map of String keys and arbitrary Object values.