org.apache.catalina.mbeans
public class StandardHostMBean extends BaseModelMBean
A ModelMBean implementation for the
org.apache.catalina.core.StandardHost
component.
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
Constructor and Description |
---|
StandardHostMBean()
Construct a
ModelMBean with default
ModelMBeanInfo information. |
Modifier and Type | Method and Description |
---|---|
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
|
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedBean, setManagedResource, toString
public StandardHostMBean() throws javax.management.MBeanException, javax.management.RuntimeOperationsException
ModelMBean
with default
ModelMBeanInfo
information.javax.management.MBeanException
- if the initializer of an object
throws an exceptionjavax.management.RuntimeOperationsException
- if an IllegalArgumentException
occurspublic void addAlias(java.lang.String alias) throws java.lang.Exception
alias
- The alias to be addedjava.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String[] findAliases() throws java.lang.Exception
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String[] getValves() throws java.lang.Exception
java.lang.Exception
- if an MBean cannot be created or registeredpublic void removeAlias(java.lang.String alias) throws java.lang.Exception
alias
- Alias name to be removedjava.lang.Exception
- if an MBean cannot be created or registeredCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.