A ModelMBean implementation for the org.apache.catalina.deploy.NamingResourcesImpl
component.
| Modifier and Type | Field and Description |
|---|---|
| protected final ManagedBean | managed
The |
| protected final Registry | registry
The configuration information registry for our managed beans. |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the object name of the new environment entryNew environment entry name envName, String The type of the new environment entry type, String The value of the new environment entry value)Add an environment entry for this web application. |
| public String | Returns: the object name of the new resourceNew resource reference name resourceName, String New resource reference type type)Add a resource reference for this web application. |
| public String | Returns: the object name of the new resource linkNew resource link reference name resourceLinkName, String New resource link reference type type)Add a resource link reference for this web application. |
| public String[] | Returns: an array of object names as stringsReturn the MBean Names of the set of defined environment entries for this web application |
| public String[] | Returns: an array of object names as stringsReturn the MBean Names of all the defined resource link references for this application. |
| public String[] | Returns: an array of object names as stringsReturn the MBean Names of all the defined resource references for this application. |
| public void | removeEnvironment(String
Name of the environment entry to remove envName)Remove any environment entry with the specified name. |
| public void | removeResource(String
Name of the resource reference to remove resourceName)Remove any resource reference with the specified name. |
| public void | removeResourceLink(String
Name of the resource link reference to remove resourceLinkName)Remove any resource link reference with the specified name. |
| managed | back to summary |
|---|---|
| protected final ManagedBean managed The | |
| registry | back to summary |
|---|---|
| protected final Registry registry The configuration information registry for our managed beans. | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| NamingResourcesMBean | back to summary |
|---|---|
| public NamingResourcesMBean() | |
| addEnvironment | back to summary |
|---|---|
| public String addEnvironment(String envName, String type, String value) throws MalformedObjectNameException Add an environment entry for this web application.
| |
| addResource | back to summary |
|---|---|
| public String addResource(String resourceName, String type) throws MalformedObjectNameException Add a resource reference for this web application.
| |
| addResourceLink | back to summary |
|---|---|
| public String addResourceLink(String resourceLinkName, String type) throws MalformedObjectNameException Add a resource link reference for this web application.
| |
| getEnvironments | back to summary |
|---|---|
| public String[] getEnvironments() Return the MBean Names of the set of defined environment entries for this web application
| |
| getResourceLinks | back to summary |
|---|---|
| public String[] getResourceLinks() Return the MBean Names of all the defined resource link references for this application.
| |
| getResources | back to summary |
|---|---|
| public String[] getResources() Return the MBean Names of all the defined resource references for this application.
| |
| removeEnvironment | back to summary |
|---|---|
| public void removeEnvironment(String envName) Remove any environment entry with the specified name.
| |
| removeResource | back to summary |
|---|---|
| public void removeResource(String resourceName) Remove any resource reference with the specified name.
| |
| removeResourceLink | back to summary |
|---|---|
| public void removeResourceLink(String resourceLinkName) Remove any resource link reference with the specified name.
| |