Class ContextResourceMBean
java.lang.Object
org.apache.tomcat.util.modeler.BaseModelMBean
org.apache.catalina.mbeans.BaseCatalinaMBean<ContextResource>
org.apache.catalina.mbeans.ContextResourceMBean
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,ModelMBeanNotificationBroadcaster,NotificationBroadcaster
A ModelMBean implementation for the
org.apache.tomcat.util.descriptor.web.ContextResource component.
- Author:
- Amy Roh
-
Field Summary
Fields inherited from class org.apache.tomcat.util.modeler.BaseModelMBean
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) voidsetAttribute(Attribute attribute) Methods inherited from class org.apache.catalina.mbeans.BaseCatalinaMBean
doGetManagedResource, newInstanceMethods inherited from class org.apache.tomcat.util.modeler.BaseModelMBean
addAttributeChangeNotificationListener, addNotificationListener, 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
-
ContextResourceMBean
public ContextResourceMBean()
-
-
Method Details
-
getAttribute
public Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
getAttributein interfaceDynamicMBean- Overrides:
getAttributein classBaseModelMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
setAttributein interfaceDynamicMBean- Overrides:
setAttributein classBaseModelMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-