Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.catalina.mbeans
Class StandardHostMBean

    java.lang.Object
      |
      +--org.apache.commons.modeler.BaseModelMBean
            |
            +--org.apache.catalina.mbeans.StandardHostMBean

All Implemented Interfaces:
  javax.management.DynamicMBean, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.PersistentMBean

public class StandardHostMBean
extends org.apache.commons.modeler.BaseModelMBean

A ModelMBean implementation for the `org.apache.catalina.core.StandardHost` component.

Version:
  $Revision: 1.5 $ $Date: 2002/03/08 22:01:08 $
Author:
  Amy Roh

Field Summary

Fields inherited from class org.apache.commons.modeler.BaseModelMBean
`attributeBroadcaster, generalBroadcaster, info, resource`

Constructor Summary
`StandardHostMBean()` Construct a `ModelMBean` with default `ModelMBeanInfo` information.

Method Summary
`void` | `addAlias(java.lang.String alias)` Add an alias name that should be mapped to this Host
`java.lang.String[]` | `findAliases()` Return the set of alias names for this Host
`java.lang.String[]` | `getValves()` Return the MBean Names of the Valves assoicated with this Host
`void` | `removeAlias(java.lang.String alias)` Return the specified alias name from the aliases for this Host

Methods inherited from class org.apache.commons.modeler.BaseModelMBean
`addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, getAttribute, getAttributes, getManagedResource, getMBeanInfo, getNotificationInfo, invoke, isModelMBeanInfoValid, load, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModelMBeanInfo, store`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StandardHostMBean

    public StandardHostMBean()
                      throws javax.management.MBeanException,
                             javax.management.RuntimeOperationsException

  Construct a `ModelMBean` with default `ModelMBeanInfo` information.

Throws:
  `javax.management.MBeanException` - if the initializer of an object throws an exception
  `javax.management.RuntimeOperationsException` - if an IllegalArgumentException occurs

Method Detail

### addAlias

    public void addAlias(java.lang.String alias)
                  throws java.lang.Exception

  Add an alias name that should be mapped to this Host

  Parameters:
    `alias` - The alias to be added
  Throws:
    `java.lang.Exception` - if an MBean cannot be created or registered

### findAliases

    public java.lang.String[] findAliases()
                                   throws java.lang.Exception

  Return the set of alias names for this Host

  Throws:
    `java.lang.Exception` - if an MBean cannot be created or registered

### getValves

    public java.lang.String[] getValves()
                                 throws java.lang.Exception

  Return the MBean Names of the Valves assoicated with this Host

  Throws:
    `java.lang.Exception` - if an MBean cannot be created or registered

### removeAlias

    public void removeAlias(java.lang.String alias)
                     throws java.lang.Exception

  Return the specified alias name from the aliases for this Host

  Parameters:
    `alias` - Alias name to be removed
  Throws:
    `java.lang.Exception` - if an MBean cannot be created or registered

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.