public class ContextEnvironmentMBean extends BaseModelMBean
A ModelMBean implementation for the
org.apache.catalina.deploy.ContextEnvironment
component.
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
Constructor and Description |
---|
ContextEnvironmentMBean()
Construct a
ModelMBean with default
ModelMBeanInfo information. |
Modifier and Type | Method and Description |
---|---|
void |
setAttribute(Attribute attribute)
Set the value of a specific attribute of this MBean.
|
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttributes, setManagedBean, setManagedResource, toString
public ContextEnvironmentMBean() throws MBeanException, RuntimeOperationsException
ModelMBean
with default
ModelMBeanInfo
information.MBeanException
- if the initializer of an object
throws an exceptionRuntimeOperationsException
- if an IllegalArgumentException
occurspublic void setAttribute(Attribute attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
setAttribute
in interface DynamicMBean
setAttribute
in class BaseModelMBean
attribute
- 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.