|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.modeler.BaseModelMBean | +--org.apache.catalina.mbeans.ContextResourceMBean
A ModelMBean implementation for the
org.apache.catalina.deploy.ContextResource
component.
Fields inherited from class org.apache.commons.modeler.BaseModelMBean |
---|
attributeBroadcaster, generalBroadcaster, info, resource |
Constructor Summary | |
---|---|
ContextResourceMBean()
Construct a ModelMBean with default
ModelMBeanInfo information. |
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Obtain and return the value of a specific attribute of this MBean. |
void |
setAttribute(javax.management.Attribute attribute)
Set the value of a specific attribute of this MBean. |
Methods inherited from class org.apache.commons.modeler.BaseModelMBean |
---|
addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, getAttributes, getManagedResource, getMBeanInfo, getNotificationInfo, invoke, isModelMBeanInfoValid, load, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttributes, setManagedResource, setModelMBeanInfo, store |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContextResourceMBean() throws javax.management.MBeanException, javax.management.RuntimeOperationsException
ModelMBean
with default
ModelMBeanInfo
information.javax.management.MBeanException
- if the initializer of an object
throws an exceptionjavax.management.RuntimeOperationsException
- if an IllegalArgumentException
occursMethod Detail |
public java.lang.Object getAttribute(java.lang.String name) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute
in class org.apache.commons.modeler.BaseModelMBean
name
- Name of the requested attributejavax.management.AttributeNotFoundException
- if this attribute is not
supported by this MBeanjavax.management.MBeanException
- if the initializer of an object
throws an exceptionjavax.management.ReflectionException
- if a Java reflection exception
occurs when invoking the getterpublic void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
setAttribute
in class org.apache.commons.modeler.BaseModelMBean
attribute
- The identification of the attribute to be set
and the new valuejavax.management.AttributeNotFoundException
- if this attribute is not
supported by this MBeanjavax.management.MBeanException
- if the initializer of an object
throws an exceptionjavax.management.ReflectionException
- if a Java reflection exception
occurs when invoking the getter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |