public class ConnectorMBean extends BaseModelMBean
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 |
---|---|
Object |
getAttribute(String name)
Obtain and return the value of a specific attribute of this MBean.
|
String |
getClassName()
Return the fully qualified Java class name of the managed object
for this MBean.
|
void |
setAttribute(Attribute attribute)
Set the value of a specific attribute of this MBean.
|
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 MBeanException, RuntimeOperationsException
ModelMBean
with default
ModelMBeanInfo
information.MBeanException
- if the initializer of an object
throws an exceptionRuntimeOperationsException
- if an IllegalArgumentException
occurspublic Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute
in interface DynamicMBean
getAttribute
in class BaseModelMBean
name
- Name of the requested attributeAttributeNotFoundException
- 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 getterpublic 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 getterpublic String getClassName()
getClassName
in class BaseModelMBean
Copyright © 2017 JBoss by Red Hat. All rights reserved.