|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.admin.mbeanserver.MBeanServerFactory
@Service @FactoryFor(value=javax.management.MBeanServer.class) public final class MBeanServerFactory
Factory for the MBeanServer. Required so that HK2 can find an MBeanServer for modules doing @Inject MBeanServer.
| Constructor Summary | |
|---|---|
MBeanServerFactory()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getObject()
The system calls this method to obtain a reference to the component. |
void |
postConstruct()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MBeanServerFactory()
| Method Detail |
|---|
public void postConstruct()
public java.lang.Object getObject()
throws org.jvnet.hk2.component.ComponentException
getObject in interface org.jvnet.hk2.component.Factoryorg.jvnet.hk2.component.ComponentException - If the factory failed to get/create an instance
and would like to propagate the error to the caller.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||