org.apache.catalina.mbeans

Class ContextResourceMBean


public class ContextResourceMBean
extends BaseModelMBean

A ModelMBean implementation for the org.apache.catalina.deploy.ContextResource component.

Version:
$Revision: 1.3 $ $Date: 2004/02/27 14:58:44 $

Author:
Amy Roh

Constructor Summary

ContextResourceMBean()
Construct a ModelMBean with default ModelMBeanInfo information.

Method Summary

Object
getAttribute(String name)
Obtain and return the value of a specific attribute of this MBean.
void
setAttribute(Attribute attribute)
Set the value of a specific attribute of this MBean.

Constructor Details

ContextResourceMBean

public ContextResourceMBean()
            throws MBeanException,
                   RuntimeOperationsException
Construct a ModelMBean with default ModelMBeanInfo information.

Method Details

getAttribute

public Object getAttribute(String name)
            throws AttributeNotFoundException,
                   MBeanException,
                   ReflectionException
Obtain and return the value of a specific attribute of this MBean.

Parameters:
name - Name of the requested attribute


setAttribute

public void setAttribute(Attribute attribute)
            throws AttributeNotFoundException,
                   MBeanException,
                   ReflectionException
Set the value of a specific attribute of this MBean.

Parameters:
attribute - The identification of the attribute to be set and the new value


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.