Class ContextEnvironmentMBean
java.lang.Object
org.apache.tomcat.util.modeler.BaseModelMBean
org.apache.catalina.mbeans.BaseCatalinaMBean<ContextEnvironment>
org.apache.catalina.mbeans.BaseNamingResourceMBean<ContextEnvironment>
org.apache.catalina.mbeans.ContextEnvironmentMBean
- All Implemented Interfaces:
DynamicMBean, MBeanRegistration, ModelMBeanNotificationBroadcaster, NotificationBroadcaster
A ModelMBean implementation for the
org.apache.tomcat.util.descriptor.web.ContextEnvironment component.-
Field Summary
Fields inherited from class BaseModelMBean
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LoggetLog()Enables sub-classes to provide the correct logger for any log messages.voidsetAttribute(Attribute attribute) Methods inherited from class BaseNamingResourceMBean
validateAttributeMethods inherited from class BaseCatalinaMBean
doGetManagedResource, newInstanceMethods inherited from class BaseModelMBean
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttributes, setManagedBean, setManagedResource, toString
-
Constructor Details
-
ContextEnvironmentMBean
public ContextEnvironmentMBean()Default constructor for ContextEnvironmentMBean.
-
-
Method Details
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
setAttributein interfaceDynamicMBean- Overrides:
setAttributein classBaseModelMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
getLog
Description copied from class:BaseNamingResourceMBeanEnables sub-classes to provide the correct logger for any log messages.- Specified by:
getLogin classBaseNamingResourceMBean<ContextEnvironment>- Returns:
- The logger to use
-