public class ConnectorMBean extends ClassNameMBean
A ModelMBean implementation for the
org.apache.coyote.tomcat5.CoyoteConnector
component.
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
Constructor and Description |
---|
ConnectorMBean()
Construct a
ModelMBean with default
ModelMBeanInfo information. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Obtain and return the value of a specific attribute of this MBean.
|
void |
setAttribute(javax.management.Attribute attribute)
Set the value of a specific attribute of this MBean.
|
getClassName
addAttributeChangeNotificationListener, addNotificationListener, getAttributes, 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 ConnectorMBean() throws javax.management.MBeanException, javax.management.RuntimeOperationsException
ModelMBean
with default
ModelMBeanInfo
information.javax.management.MBeanException
- if the initializer of an object
throws an exceptionjavax.management.RuntimeOperationsException
- if an IllegalArgumentException
occurspublic java.lang.Object getAttribute(java.lang.String name) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute
in interface javax.management.DynamicMBean
getAttribute
in class BaseModelMBean
name
- Name of the requested attributejavax.management.AttributeNotFoundException
- if this attribute is not
supported by this MBeanjavax.management.MBeanException
- if the initializer of an object
throws an exceptionjavax.management.ReflectionException
- if a Java reflection exception
occurs when invoking the getterpublic void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
setAttribute
in interface javax.management.DynamicMBean
setAttribute
in class BaseModelMBean
attribute
- The identification of the attribute to be set
and the new valuejavax.management.AttributeNotFoundException
- if this attribute is not
supported by this MBeanjavax.management.MBeanException
- if the initializer of an object
throws an exceptionjavax.management.ReflectionException
- if a Java reflection exception
occurs when invoking the getterCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.