Class JmxEndpointExporter
java.lang.Object
org.springframework.boot.actuate.endpoint.jmx.JmxEndpointExporter
- All Implemented Interfaces:
Aware, BeanClassLoaderAware, DisposableBean, InitializingBean
public class JmxEndpointExporter
extends Object
implements InitializingBean, DisposableBean, BeanClassLoaderAware
Exports
JMX endpoints to a MBeanServer.- Since:
- 2.0.0
- Author:
- Stephane Nicoll, Phillip Webb
-
Constructor Summary
ConstructorsConstructorDescriptionJmxEndpointExporter(MBeanServer mBeanServer, EndpointObjectNameFactory objectNameFactory, JmxOperationResponseMapper responseMapper, Collection<? extends ExposableJmxEndpoint> endpoints) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()voidsetBeanClassLoader(ClassLoader classLoader)
-
Constructor Details
-
JmxEndpointExporter
public JmxEndpointExporter(MBeanServer mBeanServer, EndpointObjectNameFactory objectNameFactory, JmxOperationResponseMapper responseMapper, Collection<? extends ExposableJmxEndpoint> endpoints)
-
-
Method Details
-
setBeanClassLoader
- Specified by:
setBeanClassLoaderin interfaceBeanClassLoaderAware
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceInitializingBean
-
destroy
- Specified by:
destroyin interfaceDisposableBean- Throws:
Exception
-