| org.apache.catalina.mbeans.NamingResourcesMBean
NamingResourcesMBean | public class NamingResourcesMBean extends BaseModelMBean (Code) | | A ModelMBean implementation for the
org.apache.catalina.deploy.NamingResources component.
author: Amy Roh version: $Revision: 1.10 $ $Date: 2002/06/24 21:11:42 $ |
Field Summary | |
protected ManagedBean | managed The ManagedBean information describing this MBean. | protected Registry | registry The configuration information registry for our managed beans. |
Constructor Summary | |
public | NamingResourcesMBean() Construct a ModelMBean with default
ModelMBeanInfo information. |
managed | protected ManagedBean managed(Code) | | The ManagedBean information describing this MBean.
|
registry | protected Registry registry(Code) | | The configuration information registry for our managed beans.
|
addEnvironment | public String addEnvironment(String envName, String type, String value) throws MalformedObjectNameException(Code) | | Add an environment entry for this web application.
Parameters: envName - New environment entry name Parameters: type - The type of the new environment entry Parameters: value - The value of the new environment entry |
addResource | public String addResource(String resourceName, String type) throws MalformedObjectNameException(Code) | | Add a resource reference for this web application.
Parameters: resourceName - New resource reference name Parameters: type - New resource reference type |
addResourceLink | public String addResourceLink(String global, String resourceLinkName, String type) throws MalformedObjectNameException(Code) | | Add a resource link reference for this web application.
Parameters: global - New resource link reference global name Parameters: resourceLinkName - New resource link reference name Parameters: type - New resource link reference type |
getEnvironments | public String[] getEnvironments()(Code) | | Return the MBean Names of the set of defined environment entries for
this web application
|
getResourceLinks | public String[] getResourceLinks()(Code) | | Return the MBean Names of all the defined resource link references for
this application.
|
getResources | public String[] getResources()(Code) | | Return the MBean Names of all the defined resource references for this
application.
|
removeEnvironment | public void removeEnvironment(String envName)(Code) | | Remove any environment entry with the specified name.
Parameters: name - Name of the environment entry to remove |
removeResource | public void removeResource(String resourceName)(Code) | | Remove any resource reference with the specified name.
Parameters: resourceName - Name of the resource reference to remove |
removeResourceLink | public void removeResourceLink(String resourceLinkName)(Code) | | Remove any resource link reference with the specified name.
Parameters: resourceLinkName - Name of the resource link reference to remove |
|
|