org.apache.catalina.mbeans
Class ContextEnvironmentMBean
java.lang.Object
org.apache.tomcat.util.modeler.BaseModelMBean
org.apache.catalina.mbeans.ContextEnvironmentMBean
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration, ModelMBeanNotificationBroadcaster, NotificationBroadcaster
public class ContextEnvironmentMBean
- extends BaseModelMBean
A ModelMBean implementation for the
org.apache.catalina.deploy.ContextEnvironment
component.
- Version:
- $Id: ContextEnvironmentMBean.java 939305 2010-04-29 13:43:39Z kkolinko $
- Author:
- Amy Roh
Method Summary |
void |
setAttribute(Attribute attribute)
Set the value of a specific attribute of this MBean. |
Methods inherited from class org.apache.tomcat.util.modeler.BaseModelMBean |
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 |
ContextEnvironmentMBean
public ContextEnvironmentMBean()
throws MBeanException,
RuntimeOperationsException
- Construct a
ModelMBean
with default
ModelMBeanInfo
information.
- Throws:
MBeanException
- if the initializer of an object
throws an exception
RuntimeOperationsException
- if an IllegalArgumentException
occurs
setAttribute
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
MBeanException,
ReflectionException
- Set the value of a specific attribute of this MBean.
- Specified by:
setAttribute
in interface DynamicMBean
- Overrides:
setAttribute
in class BaseModelMBean
- Parameters:
attribute
- The identification of the attribute to be set
and the new value
- Throws:
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
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.