org.apache.catalina.mbeans

Class ClassNameMBean

public class ClassNameMBean extends 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.

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Craig R. McClanahan

Constructor Summary
ClassNameMBean()
Construct a ModelMBean with default ModelMBeanInfo information.
Method Summary
StringgetClassName()
Return the fully qualified Java class name of the managed object for this MBean.

Constructor Detail

ClassNameMBean

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

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

Method Detail

getClassName

public String getClassName()
Return the fully qualified Java class name of the managed object for this MBean.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.