spring-framework / org.springframework.jmx.support

Package org.springframework.jmx.support

Types

ConnectorServerFactoryBean

open class ConnectorServerFactoryBean : MBeanRegistrationSupport, FactoryBean<JMXConnectorServer>, InitializingBean, DisposableBean

FactoryBean that creates a JSR-160 JMXConnectorServer, optionally registers it with the MBeanServer and then starts it.

The JMXConnectorServer can be started in a separate thread by setting the threaded property to true. You can configure this thread to be a daemon thread by setting the daemon property to true.

The JMXConnectorServer is correctly shutdown when an instance of this class is destroyed on shutdown of the containing ApplicationContext.

JmxUtils

abstract class JmxUtils

Collection of generic utility methods to support Spring JMX. Includes a convenient method to locate an MBeanServer.

MBeanServerConnectionFactoryBean

open class MBeanServerConnectionFactoryBean : FactoryBean<MBeanServerConnection>, BeanClassLoaderAware, InitializingBean, DisposableBean

FactoryBean that creates a JMX 1.2 MBeanServerConnection to a remote MBeanServer exposed via a JMXServerConnector. Exposes the MBeanServer for bean references.

MBeanServerFactoryBean

open class MBeanServerFactoryBean : FactoryBean<MBeanServer>, InitializingBean, DisposableBean

FactoryBean that obtains an javax.management.MBeanServer reference through the standard JMX 1.2 javax.management.MBeanServerFactory API (which is available on JDK 1.5 or as part of a JMX 1.2 provider). Exposes the MBeanServer for bean references.

By default, MBeanServerFactoryBean will always create a new MBeanServer even if one is already running. To have the MBeanServerFactoryBean attempt to locate a running MBeanServer first, set the value of the "locateExistingServerIfPossible" property to "true".

MetricType

class MetricType

Represents how the measurement values of a ManagedMetric will change over time.

ObjectNameManager

open class ObjectNameManager

Helper class for the creation of javax.management.ObjectName instances.