Class ContextEnvironmentMBean

  • All Implemented Interfaces:
    javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster

    public class ContextEnvironmentMBean
    extends BaseCatalinaMBean<ContextEnvironment>

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

    Author:
    Amy Roh
    • Constructor Detail

      • ContextEnvironmentMBean

        public ContextEnvironmentMBean()
    • Method Detail

      • 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 interface javax.management.DynamicMBean
        Overrides:
        setAttribute in class BaseModelMBean
        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 MBean
        javax.management.MBeanException - if the initializer of an object throws an exception
        javax.management.ReflectionException - if a Java reflection exception occurs when invoking the getter