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
ConstructorDescriptionJmxEndpointExporter
(MBeanServer mBeanServer, EndpointObjectNameFactory objectNameFactory, JmxOperationResponseMapper responseMapper, Collection<? extends ExposableJmxEndpoint> endpoints) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
destroy()
void
setBeanClassLoader
(ClassLoader classLoader)
-
Constructor Details
-
JmxEndpointExporter
public JmxEndpointExporter(MBeanServer mBeanServer, EndpointObjectNameFactory objectNameFactory, JmxOperationResponseMapper responseMapper, Collection<? extends ExposableJmxEndpoint> endpoints)
-
-
Method Details
-
setBeanClassLoader
- Specified by:
setBeanClassLoader
in interfaceBeanClassLoaderAware
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceInitializingBean
-
destroy
- Specified by:
destroy
in interfaceDisposableBean
- Throws:
Exception
-