|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.mbeans.MBeanUtils
Public utility methods in support of the server side MBeans implementation.
Constructor Summary | |
MBeanUtils()
|
Method Summary | |
static javax.management.ObjectName |
createObjectName(java.lang.String domain,
ContextEnvironment environment)
Create an ObjectName for this
Service object. |
static javax.management.ObjectName |
createObjectName(java.lang.String domain,
ContextResource resource)
Create an ObjectName for this
ContextResource object. |
static javax.management.ObjectName |
createObjectName(java.lang.String domain,
ContextResourceLink resourceLink)
Create an ObjectName for this
ContextResourceLink object. |
static org.apache.commons.modeler.Registry |
createRegistry()
Create and configure (if necessary) and return the registry of managed object descriptions. |
static void |
createRMIAdaptor(java.lang.String adaptorType,
java.lang.String host,
int port)
Create a RMI adapter [MX4J specific]. |
static javax.management.MBeanServer |
createServer()
Create and configure (if necessary) and return the MBeanServer with which we will be
registering our ModelMBean implementations. |
static void |
loadMBeanDescriptors(java.lang.String resource)
Load an MBean descriptor resource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MBeanUtils()
Method Detail |
public static javax.management.ObjectName createObjectName(java.lang.String domain, ContextEnvironment environment) throws javax.management.MalformedObjectNameException
ObjectName
for this
Service
object.
domain
- Domain in which this name is to be created
javax.management.MalformedObjectNameException
- if a name cannot be createdpublic static javax.management.ObjectName createObjectName(java.lang.String domain, ContextResource resource) throws javax.management.MalformedObjectNameException
ObjectName
for this
ContextResource
object.
domain
- Domain in which this name is to be createdresource
- The ContextResource to be named
javax.management.MalformedObjectNameException
- if a name cannot be createdpublic static javax.management.ObjectName createObjectName(java.lang.String domain, ContextResourceLink resourceLink) throws javax.management.MalformedObjectNameException
ObjectName
for this
ContextResourceLink
object.
domain
- Domain in which this name is to be createdresourceLink
- The ContextResourceLink to be named
javax.management.MalformedObjectNameException
- if a name cannot be createdpublic static org.apache.commons.modeler.Registry createRegistry()
public static void loadMBeanDescriptors(java.lang.String resource)
public static javax.management.MBeanServer createServer()
MBeanServer
with which we will be
registering our ModelMBean
implementations.
public static void createRMIAdaptor(java.lang.String adaptorType, java.lang.String host, int port) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |