Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » mbeans » [javadoc | source]
org.apache.catalina.mbeans
public class: MBeanUtils [javadoc | source]
java.lang.Object
   org.apache.catalina.mbeans.MBeanUtils
Public utility methods in support of the server side MBeans implementation.
Field Summary
static  Hashtable seq     
Method from org.apache.catalina.mbeans.MBeanUtils Summary:
createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createMBean,   createManagedName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createObjectName,   createRegistry,   createServer,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   destroyMBean,   getSeq
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.mbeans.MBeanUtils Detail:
 static DynamicMBean createMBean(Connector connector) throws Exception 
    Create, register, and return an MBean for this Connector object.
 static DynamicMBean createMBean(Context context) throws Exception 
    Create, register, and return an MBean for this Context object.
 static DynamicMBean createMBean(ContextEnvironment environment) throws Exception 
    Create, register, and return an MBean for this ContextEnvironment object.
 static DynamicMBean createMBean(ContextResource resource) throws Exception 
    Create, register, and return an MBean for this ContextResource object.
 static DynamicMBean createMBean(ContextResourceLink resourceLink) throws Exception 
    Create, register, and return an MBean for this ContextResourceLink object.
 static DynamicMBean createMBean(Engine engine) throws Exception 
    Create, register, and return an MBean for this Engine object.
 static DynamicMBean createMBean(Group group) throws Exception 
    Create, register, and return an MBean for this Group object.
 static DynamicMBean createMBean(Host host) throws Exception 
    Create, register, and return an MBean for this Host object.
 static DynamicMBean createMBean(Loader loader) throws Exception 
    Create, register, and return an MBean for this Loader object.
 static DynamicMBean createMBean(Manager manager) throws Exception 
    Create, register, and return an MBean for this Manager object.
 static DynamicMBean createMBean(MBeanFactory factory) throws Exception 
    Create, register, and return an MBean for this MBeanFactory object.
 static DynamicMBean createMBean(NamingResources resource) throws Exception 
    Create, register, and return an MBean for this NamingResources object.
 static DynamicMBean createMBean(Realm realm) throws Exception 
    Create, register, and return an MBean for this Realm object.
 static DynamicMBean createMBean(Role role) throws Exception 
    Create, register, and return an MBean for this Role object.
 static DynamicMBean createMBean(Server server) throws Exception 
    Create, register, and return an MBean for this Server object.
 static DynamicMBean createMBean(Service service) throws Exception 
    Create, register, and return an MBean for this Service object.
 static DynamicMBean createMBean(User user) throws Exception 
    Create, register, and return an MBean for this User object.
 static DynamicMBean createMBean(UserDatabase userDatabase) throws Exception 
    Create, register, and return an MBean for this UserDatabase object.
 static DynamicMBean createMBean(Valve valve) throws Exception 
    Create, register, and return an MBean for this Valve object.
 static String createManagedName(Object component) 
    Create and return the name of the ManagedBean that corresponds to this Catalina component.
 static ObjectName createObjectName(String domain,
    Connector connector) throws MalformedObjectNameException 
    Create an ObjectName for this Connector object.
 static ObjectName createObjectName(String domain,
    Context context) throws MalformedObjectNameException 
    Create an ObjectName for this Context object.
 public static ObjectName createObjectName(String domain,
    ContextEnvironment environment) throws MalformedObjectNameException 
    Create an ObjectName for this Service object.
 public static ObjectName createObjectName(String domain,
    ContextResource resource) throws MalformedObjectNameException 
    Create an ObjectName for this ContextResource object.
 public static ObjectName createObjectName(String domain,
    ContextResourceLink resourceLink) throws MalformedObjectNameException 
    Create an ObjectName for this ContextResourceLink object.
 static ObjectName createObjectName(String domain,
    Engine engine) throws MalformedObjectNameException 
    Create an ObjectName for this Engine object.
 static ObjectName createObjectName(String domain,
    Group group) throws MalformedObjectNameException 
    Create an ObjectName for this Group object.
 static ObjectName createObjectName(String domain,
    Host host) throws MalformedObjectNameException 
    Create an ObjectName for this Host object.
 static ObjectName createObjectName(String domain,
    Loader loader) throws MalformedObjectNameException 
    Create an ObjectName for this Loader object.
 static ObjectName createObjectName(String domain,
    Manager manager) throws MalformedObjectNameException 
    Create an ObjectName for this Manager object.
 static ObjectName createObjectName(String domain,
    NamingResources resources) throws MalformedObjectNameException 
    Create an ObjectName for this Server object.
 static ObjectName createObjectName(String domain,
    MBeanFactory factory) throws MalformedObjectNameException 
    Create an ObjectName for this MBeanFactory object.
 static ObjectName createObjectName(String domain,
    Realm realm) throws MalformedObjectNameException 
    Create an ObjectName for this Realm object.
 static ObjectName createObjectName(String domain,
    Role role) throws MalformedObjectNameException 
    Create an ObjectName for this Role object.
 static ObjectName createObjectName(String domain,
    Server server) throws MalformedObjectNameException 
    Create an ObjectName for this Server object.
 static ObjectName createObjectName(String domain,
    Service service) throws MalformedObjectNameException 
    Create an ObjectName for this Service object.
 static ObjectName createObjectName(String domain,
    User user) throws MalformedObjectNameException 
    Create an ObjectName for this User object.
 static ObjectName createObjectName(String domain,
    UserDatabase userDatabase) throws MalformedObjectNameException 
    Create an ObjectName for this UserDatabase object.
 static ObjectName createObjectName(String domain,
    Valve valve) throws MalformedObjectNameException 
    Create an ObjectName for this Valve object.
 public static synchronized Registry createRegistry() 
    Create and configure (if necessary) and return the registry of managed object descriptions.
 public static synchronized MBeanServer createServer() 
    Create and configure (if necessary) and return the MBeanServer with which we will be registering our DynamicMBean implementations.
 static  void destroyMBean(Context context) throws Exception 
    Deregister the MBean for this Context object.
 static  void destroyMBean(ContextEnvironment environment) throws Exception 
    Deregister the MBean for this ContextEnvironment object.
 static  void destroyMBean(ContextResource resource) throws Exception 
    Deregister the MBean for this ContextResource object.
 static  void destroyMBean(ContextResourceLink resourceLink) throws Exception 
    Deregister the MBean for this ContextResourceLink object.
 static  void destroyMBean(Engine engine) throws Exception 
    Deregister the MBean for this Engine object.
 static  void destroyMBean(Group group) throws Exception 
    Deregister the MBean for this Group object.
 static  void destroyMBean(Host host) throws Exception 
    Deregister the MBean for this Host object.
 static  void destroyMBean(Loader loader) throws Exception 
    Deregister the MBean for this Loader object.
 static  void destroyMBean(Manager manager) throws Exception 
    Deregister the MBean for this Manager object.
 static  void destroyMBean(NamingResources resources) throws Exception 
    Deregister the MBean for this NamingResources object.
 static  void destroyMBean(Realm realm) throws Exception 
    Deregister the MBean for this Realm object.
 static  void destroyMBean(Role role) throws Exception 
    Deregister the MBean for this Role object.
 static  void destroyMBean(Server server) throws Exception 
    Deregister the MBean for this Server object.
 static  void destroyMBean(Service service) throws Exception 
    Deregister the MBean for this Service object.
 static  void destroyMBean(User user) throws Exception 
    Deregister the MBean for this User object.
 static  void destroyMBean(UserDatabase userDatabase) throws Exception 
    Deregister the MBean for this UserDatabase object.
 static  void destroyMBean(Connector connector,
    Service service) throws Exception 
    Deregister the MBean for this Connector object.
 static  void destroyMBean(Valve valve,
    Container container) throws Exception 
    Deregister the MBean for this Valve object.
 static int getSeq(String key)