Interface NamingResources
- All Known Implementing Classes:
- NamingResourcesImpl
public interface NamingResources
Defines an interface for the object that is added to the representation of a
 JNDI resource in web.xml to enable it to also be the implementation of that
 JNDI resource. Only Catalina implements this interface but because the
 web.xml representation is shared this interface has to be visible to Catalina
 and Jasper.
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdd an environment entry for this web application.voidAdd a resource reference for this web application.voidAdd a resource link for this web application.voidremoveEnvironment(String name) Remove any environment entry with the specified name.voidremoveResource(String name) Remove any resource reference with the specified name.voidremoveResourceLink(String name) Remove any resource link with the specified name.
- 
Method Details- 
addEnvironmentAdd an environment entry for this web application.- Parameters:
- ce- New environment entry
 
- 
removeEnvironmentRemove any environment entry with the specified name.- Parameters:
- name- Name of the environment entry to remove
 
- 
addResourceAdd a resource reference for this web application.- Parameters:
- cr- New resource reference
 
- 
removeResourceRemove any resource reference with the specified name.- Parameters:
- name- Name of the resource reference to remove
 
- 
addResourceLinkAdd a resource link for this web application.- Parameters:
- crl- New resource link
 
- 
removeResourceLinkRemove any resource link with the specified name.- Parameters:
- name- Name of the resource link to remove
 
- 
getContainerObject getContainer()- Returns:
- the container with which the naming resources are associated.
 
 
-