FileDocCategorySizeDatePackage
ClassNameMBean.javaAPI DocGlassfish v2 API3663Fri May 04 22:32:10 BST 2007org.apache.catalina.mbeans

ClassNameMBean

public class ClassNameMBean extends com.sun.org.apache.commons.modeler.BaseModelMBean

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: 1.4 $ $Date: 2007/05/05 05:32:09 $

Fields Summary
Constructors Summary
public ClassNameMBean()
Construct a ModelMBean with default ModelMBeanInfo information.

exception
MBeanException if the initialize of an object throws an exception
exception
RuntimeOperationsException if an IllegalArgumentException occurs


         super();

     
Methods Summary
public java.lang.StringgetClassName()
Return the fully qualified Java class name of the managed object for this MBean.


         return (this.resource.getClass().getName());