org.apache.catalina.mbeans
public class MBeanUtils extends Object
Version: $Revision: 777611 $ $Date: 2009-05-22 18:41:15 +0200 (Fri, 22 May 2009) $
Method Summary | |
---|---|
static ObjectName | createObjectName(String domain, ContextEnvironment environment)
Create an ObjectName for this
Service object.
|
static ObjectName | createObjectName(String domain, ContextResource resource)
Create an ObjectName for this
ContextResource object.
|
static ObjectName | createObjectName(String domain, ContextResourceLink resourceLink)
Create an ObjectName for this
ContextResourceLink object.
|
static Registry | createRegistry()
Create and configure (if necessary) and return the registry of
managed object descriptions. |
static MBeanServer | createServer()
Create and configure (if necessary) and return the
MBeanServer with which we will be
registering our DynamicMBean implementations. |
ObjectName
for this
Service
object.
Parameters: domain Domain in which this name is to be created environment The ContextEnvironment to be named
Throws: MalformedObjectNameException if a name cannot be created
ObjectName
for this
ContextResource
object.
Parameters: domain Domain in which this name is to be created resource The ContextResource to be named
Throws: MalformedObjectNameException if a name cannot be created
ObjectName
for this
ContextResourceLink
object.
Parameters: domain Domain in which this name is to be created resourceLink The ContextResourceLink to be named
Throws: MalformedObjectNameException if a name cannot be created
MBeanServer
with which we will be
registering our DynamicMBean
implementations.