com.ibm.websphere.management
Class AdminServiceFactory
java.lang.Object
|
+--com.ibm.websphere.management.AdminServiceFactory
- public class AdminServiceFactory
- extends java.lang.Object
This class serves as the Factory for the AdminService instance
in each JVM. Its static methods provide an access mechanism for
obtaining a reference to the singleton AdminService and also
the MBeanFactory.
Code that calls the static methods for this class must be granted
AdminPermission
or an exception will be thrown
if Java 2 Security is enabled.
Method Summary |
static AdminService |
getAdminService()
This static method returns the singleton reference to the AdminService
instance for this JVM. |
static MBeanFactory |
getMBeanFactory()
This static method returns the singleton reference to the MBeanFactory
instance for this JVM. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminServiceFactory
public AdminServiceFactory()
getAdminService
public static AdminService getAdminService()
- This static method returns the singleton reference to the AdminService
instance for this JVM.
- See Also:
AdminService
getMBeanFactory
public static MBeanFactory getMBeanFactory()
- This static method returns the singleton reference to the MBeanFactory
instance for this JVM.
- See Also:
MBeanFactory