Package org.apache.catalina.mbeans
Class ContextResourceLinkMBean
java.lang.Object
org.apache.tomcat.util.modeler.BaseModelMBean
org.apache.catalina.mbeans.BaseCatalinaMBean<ContextResourceLink>
org.apache.catalina.mbeans.ContextResourceLinkMBean
- All Implemented Interfaces:
- DynamicMBean,- MBeanRegistration,- ModelMBeanNotificationBroadcaster,- NotificationBroadcaster
 A ModelMBean implementation for the
 org.apache.tomcat.util.descriptor.web.ContextResourceLink component.
 
- Author:
- Amy Roh
- 
Field SummaryFields inherited from class org.apache.tomcat.util.modeler.BaseModelMBeanattributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAttribute(String name) Obtain and return the value of a specific attribute of this MBean.voidsetAttribute(Attribute attribute) Set the value of a specific attribute of this MBean.Methods inherited from class org.apache.catalina.mbeans.BaseCatalinaMBeandoGetManagedResource, newInstanceMethods inherited from class org.apache.tomcat.util.modeler.BaseModelMBeanaddAttributeChangeNotificationListener, 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- 
ContextResourceLinkMBeanpublic ContextResourceLinkMBean()
 
- 
- 
Method Details- 
getAttributepublic Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException Obtain and return the value of a specific attribute of this MBean.- Specified by:
- getAttributein interface- DynamicMBean
- Overrides:
- getAttributein class- BaseModelMBean
- Parameters:
- name- Name of the requested attribute
- Throws:
- AttributeNotFoundException- if this attribute is not supported by this MBean
- MBeanException- if the initializer of an object throws an exception
- ReflectionException- if a Java reflection exception occurs when invoking the getter
 
- 
setAttributepublic void setAttribute(Attribute attribute) throws AttributeNotFoundException, MBeanException, ReflectionException Set the value of a specific attribute of this MBean.- Specified by:
- setAttributein interface- DynamicMBean
- Overrides:
- setAttributein class- BaseModelMBean
- Parameters:
- attribute- The identification of the attribute to be set and the new value
- Throws:
- AttributeNotFoundException- if this attribute is not supported by this MBean
- MBeanException- if the initializer of an object throws an exception
- ReflectionException- if a Java reflection exception occurs when invoking the getter
 
 
-