org.apache.catalina.mbeans
public class: ClassNameMBean [javadoc |
source]
java.lang.Object
org.apache.tomcat.util.modeler.BaseModelMBean
org.apache.catalina.mbeans.ClassNameMBean
All Implemented Interfaces:
ModelMBeanNotificationBroadcaster, DynamicMBean, MBeanRegistration
Direct Known Subclasses:
ConnectorMBean
A convenience base class for ModelMBean implementations
where the underlying base class (and therefore the set of supported
properties) is different for varying implementations of a standard
interface. For Catalina, that includes at least the following:
Connector, Logger, Realm, and Valve. This class creates an artificial
MBean attribute named className, which reports the fully
qualified class name of the managed object as its value.
- author:
Craig - R. McClanahan
- version:
$ - Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $
| Constructor: |
public ClassNameMBean() throws RuntimeOperationsException, MBeanException {
super();
}
Construct a ModelMBean with default
ModelMBeanInfo information. Throws:
MBeanException - if the initialize of an object
throws an exception
RuntimeOperationsException - if an IllegalArgumentException
occurs
- exception:
MBeanException - if the initialize of an object
throws an exception
- exception:
RuntimeOperationsException - if an IllegalArgumentException
occurs
|
| Method from org.apache.catalina.mbeans.ClassNameMBean Summary: |
|---|
|
getClassName |
| Methods from org.apache.tomcat.util.modeler.BaseModelMBean: |
|---|
|
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributeClass, getAttributes, getClassName, getJmxName, getMBeanInfo, getManagedResource, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedBean, setManagedResource, toString |
| Method from org.apache.catalina.mbeans.ClassNameMBean Detail: |
public String getClassName() {
return (this.resource.getClass().getName());
}
Return the fully qualified Java class name of the managed object
for this MBean. |