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:
javax.management.DynamicMBean
,javax.management.MBeanRegistration
,javax.management.modelmbean.ModelMBeanNotificationBroadcaster
,javax.management.NotificationBroadcaster
public class ContextResourceLinkMBean extends BaseCatalinaMBean<ContextResourceLink>
A ModelMBean implementation for the
org.apache.tomcat.util.descriptor.web.ContextResourceLink
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 Constructor Description ContextResourceLinkMBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.catalina.mbeans.BaseCatalinaMBean
doGetManagedResource, newInstance
-
Methods 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
-
-
-
-
Method Detail
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
Obtain and return the value of a specific attribute of this MBean.- Specified by:
getAttribute
in interfacejavax.management.DynamicMBean
- Overrides:
getAttribute
in classBaseModelMBean
- Parameters:
name
- Name of the requested attribute- Throws:
javax.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
-
setAttribute
public void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
Set the value of a specific attribute of this MBean.- Specified by:
setAttribute
in interfacejavax.management.DynamicMBean
- Overrides:
setAttribute
in classBaseModelMBean
- Parameters:
attribute
- The identification of the attribute to be set and the new value- Throws:
javax.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
-
-