| java.lang.Object org.picocontainer.gems.jmx.StandardMBeanFactory
All known Subclasses: org.picocontainer.gems.jmx.mx4j.MX4JDynamicMBeanFactory,
StandardMBeanFactory | public class StandardMBeanFactory implements DynamicMBeanFactory(Code) | | A factory for DynamicMBeans, that creates MBean instances using the classes
StandardMBean and
ModelMBean provided by the JMX specification. The implementation offers special support for StandardMBeans
following the naming convention for their management interface using the class name of the component with an appended
MBean.
author: Michael Ward author: Jörg Schaible version: $Revision: 3905 $ |
getDefaultManagementInterface | public Class getDefaultManagementInterface(Class type, MBeanInfo mBeanInfo) throws ClassNotFoundException(Code) | | Determin the management interface for the given type. The class name of the given type is used as class name of
the mBean unless the caller has provided a
MBeanInfo , the class name of the MBean is retrieved a
MBeanInfo that defines this name. Following the naming conventions is the name of the management interface the
same as the class name of the MBean with an appended MBean. The
ClassLoader of the type is
used to load the interface type.
Parameters: type - The class of the MBean. Parameters: mBeanInfo - The MBeanInfo for the MBean. May be null . Returns the default management interface. throws: ClassNotFoundException - If the management interface cannot be found. |
|
|