Package org.glassfish.admin.mbeanserver
Class MBeanServerFactory
- java.lang.Object
-
- org.glassfish.admin.mbeanserver.MBeanServerFactory
-
- All Implemented Interfaces:
org.glassfish.hk2.api.Factory<MBeanServer>
@Service @RunLevel(mode=0, value=20) public final class MBeanServerFactory extends Object implements org.glassfish.hk2.api.Factory<MBeanServer>Factory for the MBeanServer. Required so that HK2 can find an MBeanServer for modules doing @Inject MBeanServer.
-
-
Constructor Summary
Constructors Constructor Description MBeanServerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose(MBeanServer instance)voidpostConstruct()MBeanServerprovide()
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
-
provide
public MBeanServer provide()
- Specified by:
providein interfaceorg.glassfish.hk2.api.Factory<MBeanServer>
-
dispose
public void dispose(MBeanServer instance)
- Specified by:
disposein interfaceorg.glassfish.hk2.api.Factory<MBeanServer>
-
-