org.apache.catalina.mbeans

Class ConnectorMBean

public class ConnectorMBean extends ClassNameMBean

A ModelMBean implementation for the org.apache.coyote.tomcat5.CoyoteConnector component.

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Amy Roh

Constructor Summary
ConnectorMBean()
Construct a ModelMBean with default ModelMBeanInfo information.
Method Summary
ObjectgetAttribute(String name)
Obtain and return the value of a specific attribute of this MBean.
voidsetAttribute(Attribute attribute)
Set the value of a specific attribute of this MBean.

Constructor Detail

ConnectorMBean

public ConnectorMBean()
Construct a ModelMBean with default ModelMBeanInfo information.

Throws: MBeanException if the initializer of an object throws an exception RuntimeOperationsException if an IllegalArgumentException occurs

Method Detail

getAttribute

public Object getAttribute(String name)
Obtain and return the value of a specific attribute of this MBean.

Parameters: name Name of the requested attribute

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

setAttribute

public void setAttribute(Attribute attribute)
Set the value of a specific attribute of this MBean.

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-2011 Apache Software Foundation. All Rights Reserved.