org.apache.catalina.mbeans

Class StandardHostMBean

public class StandardHostMBean extends BaseModelMBean

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

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

Author: Amy Roh

Constructor Summary
StandardHostMBean()
Construct a ModelMBean with default ModelMBeanInfo information.
Method Summary
voidaddAlias(String alias)
Add an alias name that should be mapped to this Host
String[]findAliases()
Return the set of alias names for this Host
String[]getValves()
Return the MBean Names of the Valves assoicated with this Host
voidremoveAlias(String alias)
Return the specified alias name from the aliases for this Host

Constructor Detail

StandardHostMBean

public StandardHostMBean()
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

addAlias

public void addAlias(String alias)
Add an alias name that should be mapped to this Host

Parameters: alias The alias to be added

Throws: Exception if an MBean cannot be created or registered

findAliases

public String[] findAliases()
Return the set of alias names for this Host

Throws: Exception if an MBean cannot be created or registered

getValves

public String[] getValves()
Return the MBean Names of the Valves assoicated with this Host

Throws: Exception if an MBean cannot be created or registered

removeAlias

public void removeAlias(String alias)
Return the specified alias name from the aliases for this Host

Parameters: alias Alias name to be removed

Throws: Exception if an MBean cannot be created or registered

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