public class AdminServiceFactory
extends java.lang.Object
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.
When you assemble the Web Application, you need to add a
security constraint for the URI and add a role to the security
constraint. When you deploy the application, you can associate
a user/group to the role you specified. When you access the
URI, you will get prompted, and you must enter a userid/password
that is considered an administrative user to access the admin
service.
Constructor and Description |
---|
AdminServiceFactory() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static AdminService getAdminService()
AdminService
public static MBeanFactory getMBeanFactory()
MBeanFactory