Top Description Fields Constructors Methods
org.apache.catalina.mbeans

public Class ContextResourceLinkMBean

extends BaseCatalinaMBean<ContextResourceLink>
Class Inheritance
Imports
javax.management.Attribute, .AttributeNotFoundException, .MBeanException, .ReflectionException, .RuntimeOperationsException, org.apache.tomcat.util.descriptor.web.ContextResourceLink, .NamingResources, org.apache.tomcat.util.res.StringManager

A ModelMBean implementation for the org.apache.tomcat.util.descriptor.web.ContextResourceLink component.

Author
Amy Roh

Field Summary

Modifier and TypeField and Description
private static final StringManager

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
getAttribute(String
Name of the requested attribute
name
)

Overrides org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute.

Implements javax.management.DynamicMBean.getAttribute.

Obtain and return the value of a specific attribute of this MBean.

public void
setAttribute(Attribute
The identification of the attribute to be set and the new value
attribute
)

Overrides org.apache.tomcat.util.modeler.BaseModelMBean.setAttribute.

Implements javax.management.DynamicMBean.setAttribute.

Set the value of a specific attribute of this MBean.

Inherited from org.apache.catalina.mbeans.BaseCatalinaMBean:
doGetManagedResourcenewInstance

Field Detail

smback to summary
private static final StringManager sm

Hides org.apache.tomcat.util.modeler.BaseModelMBean.sm.

Constructor Detail

ContextResourceLinkMBeanback to summary
public ContextResourceLinkMBean()

Method Detail

getAttributeback to summary
public Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException

Overrides org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute.

Implements javax.management.DynamicMBean.getAttribute.

Obtain and return the value of a specific attribute of this MBean.

Parameters
name:String

Name of the requested attribute

Returns:Object

Doc from javax.management.DynamicMBean.getAttribute.

The value of the attribute retrieved.

Annotations
@Override
Exceptions
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
setAttributeback to summary
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, MBeanException, ReflectionException

Overrides org.apache.tomcat.util.modeler.BaseModelMBean.setAttribute.

Implements javax.management.DynamicMBean.setAttribute.

Set the value of a specific attribute of this MBean.

Parameters
attribute:Attribute

The identification of the attribute to be set and the new value

Annotations
@Override
Exceptions
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