Package io.micronaut.configuration.jmx
Class MBeanServerFactoryBean
java.lang.Object
io.micronaut.configuration.jmx.MBeanServerFactoryBean
A factory to create a management bean server bean.
- Since:
- 1.0
- Author:
- James Kleeh
-
Constructor Summary
ConstructorDescriptionMBeanServerFactoryBean
(JmxConfiguration configuration, io.micronaut.context.ApplicationContext applicationContext) -
Method Summary
-
Constructor Details
-
MBeanServerFactoryBean
public MBeanServerFactoryBean(JmxConfiguration configuration, io.micronaut.context.ApplicationContext applicationContext) - Parameters:
configuration
- The JMX configurationapplicationContext
- The application context
-
-
Method Details
-
getMBeanServer
@Requires(missingBeans=javax.management.MBeanServer.class) @Singleton public MBeanServer getMBeanServer()- Returns:
- The management bean server
-