| java.lang.Object org.apache.catalina.mbeans.MBeanUtils
MBeanUtils | public class MBeanUtils (Code) | | Public utility methods in support of the server side MBeans implementation.
author: Craig R. McClanahan author: Amy Roh version: $Revision: 500684 $ $Date: 2007-01-28 00:27:18 +0100 (dim., 28 janv. 2007) $ |
Method Summary | |
static DynamicMBean | createMBean(Connector connector) Create, register, and return an MBean for this
Connector object. | static DynamicMBean | createMBean(Context context) Create, register, and return an MBean for this
Context object. | static DynamicMBean | createMBean(ContextEnvironment environment) Create, register, and return an MBean for this
ContextEnvironment object. | static DynamicMBean | createMBean(ContextResource resource) Create, register, and return an MBean for this
ContextResource object. | static DynamicMBean | createMBean(ContextResourceLink resourceLink) Create, register, and return an MBean for this
ContextResourceLink object. | static DynamicMBean | createMBean(Engine engine) Create, register, and return an MBean for this
Engine object. | static DynamicMBean | createMBean(Group group) Create, register, and return an MBean for this
Group object. | static DynamicMBean | createMBean(Host host) Create, register, and return an MBean for this
Host object. | static DynamicMBean | createMBean(Loader loader) Create, register, and return an MBean for this
Loader object. | static DynamicMBean | createMBean(Manager manager) Create, register, and return an MBean for this
Manager object. | static DynamicMBean | createMBean(MBeanFactory factory) Create, register, and return an MBean for this
MBeanFactory object. | static DynamicMBean | createMBean(NamingResources resource) Create, register, and return an MBean for this
NamingResources object. | static DynamicMBean | createMBean(Realm realm) Create, register, and return an MBean for this
Realm object. | static DynamicMBean | createMBean(Role role) Create, register, and return an MBean for this
Role object. | static DynamicMBean | createMBean(Server server) Create, register, and return an MBean for this
Server object. | static DynamicMBean | createMBean(Service service) Create, register, and return an MBean for this
Service object. | static DynamicMBean | createMBean(User user) Create, register, and return an MBean for this
User object. | static DynamicMBean | createMBean(UserDatabase userDatabase) Create, register, and return an MBean for this
UserDatabase object. | static DynamicMBean | createMBean(Valve valve) 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) Create an ObjectName for this
Connector object. | static ObjectName | createObjectName(String domain, Context context) Create an ObjectName for this
Context object. | public static ObjectName | createObjectName(String domain, ContextEnvironment environment) Create an ObjectName for this
Service object. | public static ObjectName | createObjectName(String domain, ContextResource resource) Create an ObjectName for this
ContextResource object. | public static ObjectName | createObjectName(String domain, ContextResourceLink resourceLink) Create an ObjectName for this
ContextResourceLink object. | static ObjectName | createObjectName(String domain, Engine engine) Create an ObjectName for this
Engine object. | static ObjectName | createObjectName(String domain, Group group) Create an ObjectName for this
Group object. | static ObjectName | createObjectName(String domain, Host host) Create an ObjectName for this
Host object. | static ObjectName | createObjectName(String domain, Loader loader) Create an ObjectName for this
Loader object. | static ObjectName | createObjectName(String domain, Manager manager) Create an ObjectName for this
Manager object. | static ObjectName | createObjectName(String domain, NamingResources resources) Create an ObjectName for this
Server object. | static ObjectName | createObjectName(String domain, MBeanFactory factory) Create an ObjectName for this
MBeanFactory object. | static ObjectName | createObjectName(String domain, Realm realm) Create an ObjectName for this
Realm object. | static ObjectName | createObjectName(String domain, Role role) Create an ObjectName for this
Role object. | static ObjectName | createObjectName(String domain, Server server) Create an ObjectName for this
Server object. | static ObjectName | createObjectName(String domain, Service service) Create an ObjectName for this
Service object. | static ObjectName | createObjectName(String domain, User user) Create an ObjectName for this
User object. | static ObjectName | createObjectName(String domain, UserDatabase userDatabase) Create an ObjectName for this
UserDatabase object. | static ObjectName | createObjectName(String domain, Valve valve) 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(Connector connector, Service service) Deregister the MBean for this
Connector object. | static void | destroyMBean(Context context) Deregister the MBean for this
Context object. | static void | destroyMBean(ContextEnvironment environment) Deregister the MBean for this
ContextEnvironment object. | static void | destroyMBean(ContextResource resource) Deregister the MBean for this
ContextResource object. | static void | destroyMBean(ContextResourceLink resourceLink) Deregister the MBean for this
ContextResourceLink object. | static void | destroyMBean(Engine engine) Deregister the MBean for this
Engine object. | static void | destroyMBean(Group group) Deregister the MBean for this
Group object. | static void | destroyMBean(Host host) Deregister the MBean for this
Host object. | static void | destroyMBean(Loader loader) Deregister the MBean for this
Loader object. | static void | destroyMBean(Manager manager) Deregister the MBean for this
Manager object. | static void | destroyMBean(NamingResources resources) Deregister the MBean for this
NamingResources object. | static void | destroyMBean(Realm realm) Deregister the MBean for this
Realm object. | static void | destroyMBean(Role role) Deregister the MBean for this
Role object. | static void | destroyMBean(Server server) Deregister the MBean for this
Server object. | static void | destroyMBean(Service service) Deregister the MBean for this
Service object. | static void | destroyMBean(User user) Deregister the MBean for this
User object. | static void | destroyMBean(UserDatabase userDatabase) Deregister the MBean for this
UserDatabase object. | static void | destroyMBean(Valve valve, Container container) Deregister the MBean for this
Valve object. | static int | getSeq(String key) |
createMBean | static DynamicMBean createMBean(Connector connector) throws Exception(Code) | | Create, register, and return an MBean for this
Connector object.
Parameters: connector - The Connector to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Context context) throws Exception(Code) | | Create, register, and return an MBean for this
Context object.
Parameters: context - The Context to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(ContextEnvironment environment) throws Exception(Code) | | Create, register, and return an MBean for this
ContextEnvironment object.
Parameters: environment - The ContextEnvironment to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(ContextResource resource) throws Exception(Code) | | Create, register, and return an MBean for this
ContextResource object.
Parameters: resource - The ContextResource to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(ContextResourceLink resourceLink) throws Exception(Code) | | Create, register, and return an MBean for this
ContextResourceLink object.
Parameters: resourceLink - The ContextResourceLink to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Engine engine) throws Exception(Code) | | Create, register, and return an MBean for this
Engine object.
Parameters: engine - The Engine to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Group group) throws Exception(Code) | | Create, register, and return an MBean for this
Group object.
Parameters: group - The Group to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Host host) throws Exception(Code) | | Create, register, and return an MBean for this
Host object.
Parameters: host - The Host to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Loader loader) throws Exception(Code) | | Create, register, and return an MBean for this
Loader object.
Parameters: loader - The Loader to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Manager manager) throws Exception(Code) | | Create, register, and return an MBean for this
Manager object.
Parameters: manager - The Manager to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(MBeanFactory factory) throws Exception(Code) | | Create, register, and return an MBean for this
MBeanFactory object.
Parameters: factory - The MBeanFactory to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(NamingResources resource) throws Exception(Code) | | Create, register, and return an MBean for this
NamingResources object.
Parameters: resource - The NamingResources to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Realm realm) throws Exception(Code) | | Create, register, and return an MBean for this
Realm object.
Parameters: realm - The Realm to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Role role) throws Exception(Code) | | Create, register, and return an MBean for this
Role object.
Parameters: role - The Role to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Server server) throws Exception(Code) | | Create, register, and return an MBean for this
Server object.
Parameters: server - The Server to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Service service) throws Exception(Code) | | Create, register, and return an MBean for this
Service object.
Parameters: service - The Service to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(User user) throws Exception(Code) | | Create, register, and return an MBean for this
User object.
Parameters: user - The User to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(UserDatabase userDatabase) throws Exception(Code) | | Create, register, and return an MBean for this
UserDatabase object.
Parameters: userDatabase - The UserDatabase to be managed exception: Exception - if an MBean cannot be created or registered |
createMBean | static DynamicMBean createMBean(Valve valve) throws Exception(Code) | | Create, register, and return an MBean for this
Valve object.
Parameters: valve - The Valve to be managed exception: Exception - if an MBean cannot be created or registered |
createManagedName | static String createManagedName(Object component)(Code) | | Create and return the name of the ManagedBean that
corresponds to this Catalina component.
Parameters: component - The component for which to create a name |
createRegistry | public static synchronized Registry createRegistry()(Code) | | Create and configure (if necessary) and return the registry of
managed object descriptions.
|
createServer | public static synchronized MBeanServer createServer()(Code) | | Create and configure (if necessary) and return the
MBeanServer with which we will be
registering our DynamicMBean implementations.
|
destroyMBean | static void destroyMBean(Connector connector, Service service) throws Exception(Code) | | Deregister the MBean for this
Connector object.
Parameters: connector - The Connector to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Context context) throws Exception(Code) | | Deregister the MBean for this
Context object.
Parameters: context - The Context to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(ContextEnvironment environment) throws Exception(Code) | | Deregister the MBean for this
ContextEnvironment object.
Parameters: environment - The ContextEnvironment to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(ContextResource resource) throws Exception(Code) | | Deregister the MBean for this
ContextResource object.
Parameters: resource - The ContextResource to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(ContextResourceLink resourceLink) throws Exception(Code) | | Deregister the MBean for this
ContextResourceLink object.
Parameters: resourceLink - The ContextResourceLink to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Engine engine) throws Exception(Code) | | Deregister the MBean for this
Engine object.
Parameters: engine - The Engine to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Group group) throws Exception(Code) | | Deregister the MBean for this
Group object.
Parameters: group - The Group to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Host host) throws Exception(Code) | | Deregister the MBean for this
Host object.
Parameters: host - The Host to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Loader loader) throws Exception(Code) | | Deregister the MBean for this
Loader object.
Parameters: loader - The Loader to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Manager manager) throws Exception(Code) | | Deregister the MBean for this
Manager object.
Parameters: manager - The Manager to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(NamingResources resources) throws Exception(Code) | | Deregister the MBean for this
NamingResources object.
Parameters: resources - The NamingResources to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Realm realm) throws Exception(Code) | | Deregister the MBean for this
Realm object.
Parameters: realm - The Realm to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Role role) throws Exception(Code) | | Deregister the MBean for this
Role object.
Parameters: role - The Role to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Server server) throws Exception(Code) | | Deregister the MBean for this
Server object.
Parameters: server - The Server to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Service service) throws Exception(Code) | | Deregister the MBean for this
Service object.
Parameters: service - The Service to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(User user) throws Exception(Code) | | Deregister the MBean for this
User object.
Parameters: user - The User to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(UserDatabase userDatabase) throws Exception(Code) | | Deregister the MBean for this
UserDatabase object.
Parameters: userDatabase - The UserDatabase to be managed exception: Exception - if an MBean cannot be deregistered |
destroyMBean | static void destroyMBean(Valve valve, Container container) throws Exception(Code) | | Deregister the MBean for this
Valve object.
Parameters: valve - The Valve to be managed exception: Exception - if an MBean cannot be deregistered |
|
|