public class ContextResourceLinkMBean extends BaseCatalinaMBean<ContextResourceLink>
A ModelMBean implementation for the
org.apache.tomcat.util.descriptor.web.ContextResourceLink component.
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType| Constructor and Description |
|---|
ContextResourceLinkMBean() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Obtain and return the value of a specific attribute of this MBean.
|
void |
setAttribute(Attribute attribute)
Set the value of a specific attribute of this MBean.
|
doGetManagedResource, newInstanceaddAttributeChangeNotificationListener, addNotificationListener, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttributes, setManagedBean, setManagedResource, toStringpublic Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute in interface DynamicMBeangetAttribute in class BaseModelMBeanname - Name of the requested attributeAttributeNotFoundException - if this attribute is not
supported by this MBeanMBeanException - if the initializer of an object
throws an exceptionReflectionException - if a Java reflection exception
occurs when invoking the getterpublic void setAttribute(Attribute attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
setAttribute in interface DynamicMBeansetAttribute in class BaseModelMBeanattribute - The identification of the attribute to be set
and the new valueAttributeNotFoundException - if this attribute is not
supported by this MBeanMBeanException - if the initializer of an object
throws an exceptionReflectionException - if a Java reflection exception
occurs when invoking the getterCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.