Top Description Constructors Methods
org.apache.catalina.mbeans

public Class ContextEnvironmentMBean

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

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

Author
Amy Roh

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
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

Constructor Detail

ContextEnvironmentMBeanback to summary
public ContextEnvironmentMBean()

Method Detail

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