Class ClassNameMBean<T>

  • Type Parameters:
    T - The type that this bean represents.
    All Implemented Interfaces:
    javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster
    Direct Known Subclasses:
    ConnectorMBean

    public class ClassNameMBean<T>
    extends BaseCatalinaMBean<T>

    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
    • Constructor Detail

      • ClassNameMBean

        public ClassNameMBean()
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        Return the fully qualified Java class name of the managed object for this MBean.
        Overrides:
        getClassName in class BaseModelMBean