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.
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
Constructor and Description |
---|
ClassNameMBean()
Construct a
ModelMBean with default
ModelMBeanInfo information. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Return the fully qualified Java class name of the managed object
for this MBean.
|
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedBean, setManagedResource, toString
public ClassNameMBean() throws javax.management.MBeanException, javax.management.RuntimeOperationsException
ModelMBean
with default
ModelMBeanInfo
information.javax.management.MBeanException
- if the initialize of an object
throws an exceptionjavax.management.RuntimeOperationsException
- if an IllegalArgumentException
occurspublic java.lang.String getClassName()
getClassName
in class BaseModelMBean
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.