org.apache.catalina.deploy
public class NamingResources extends Object implements Serializable
Version: $Revision: 652623 $ $Date: 2008-05-01 20:58:16 +0200 (Thu, 01 May 2008) $
Field Summary | |
---|---|
protected PropertyChangeSupport | support
The property change support for this component. |
Constructor Summary | |
---|---|
NamingResources()
Create a new NamingResources instance. |
Method Summary | |
---|---|
void | addEjb(ContextEjb ejb)
Add an EJB resource reference for this web application.
|
void | addEnvironment(ContextEnvironment environment)
Add an environment entry for this web application.
|
void | addLocalEjb(ContextLocalEjb ejb)
Add a local EJB resource reference for this web application.
|
void | addMessageDestinationRef(MessageDestinationRef mdr)
Add a message destination reference for this web application.
|
void | addPropertyChangeListener(PropertyChangeListener listener)
Add a property change listener to this component.
|
void | addResource(ContextResource resource)
Add a resource reference for this web application.
|
void | addResourceEnvRef(ContextResourceEnvRef resource)
Add a resource environment reference for this web application.
|
void | addResourceLink(ContextResourceLink resourceLink)
Add a resource link for this web application.
|
void | addService(ContextService service)
Add a web service reference for this web application.
|
boolean | exists(String name)
Return true if the name specified already exists. |
ContextEjb | findEjb(String name)
Return the EJB resource reference with the specified name, if any;
otherwise, return null .
|
ContextEjb[] | findEjbs()
Return the defined EJB resource references for this application.
|
ContextEnvironment | findEnvironment(String name)
Return the environment entry with the specified name, if any;
otherwise, return null .
|
ContextEnvironment[] | findEnvironments()
Return the set of defined environment entries for this web
application. |
ContextLocalEjb | findLocalEjb(String name)
Return the local EJB resource reference with the specified name, if any;
otherwise, return null .
|
ContextLocalEjb[] | findLocalEjbs()
Return the defined local EJB resource references for this application.
|
MessageDestinationRef | findMessageDestinationRef(String name)
Return the message destination reference with the specified name,
if any; otherwise, return null .
|
MessageDestinationRef[] | findMessageDestinationRefs()
Return the defined message destination references for this application.
|
ContextResource | findResource(String name)
Return the resource reference with the specified name, if any;
otherwise return null .
|
ContextResourceEnvRef | findResourceEnvRef(String name)
Return the resource environment reference type for the specified
name, if any; otherwise return null .
|
ContextResourceEnvRef[] | findResourceEnvRefs()
Return the set of resource environment reference names for this
web application. |
ContextResourceLink | findResourceLink(String name)
Return the resource link with the specified name, if any;
otherwise return null .
|
ContextResourceLink[] | findResourceLinks()
Return the defined resource links for this application. |
ContextResource[] | findResources()
Return the defined resource references for this application. |
ContextService | findService(String name)
Return the web service reference for the specified
name, if any; otherwise return null .
|
ContextService[] | findServices()
Return the defined web service references for this application. |
Object | getContainer()
Get the container with which the naming resources are associated. |
ContextTransaction | getTransaction()
Get the transaction object. |
void | removeEjb(String name)
Remove any EJB resource reference with the specified name.
|
void | removeEnvironment(String name)
Remove any environment entry with the specified name.
|
void | removeLocalEjb(String name)
Remove any local EJB resource reference with the specified name.
|
void | removeMessageDestinationRef(String name)
Remove any message destination reference with the specified name.
|
void | removePropertyChangeListener(PropertyChangeListener listener)
Remove a property change listener from this component.
|
void | removeResource(String name)
Remove any resource reference with the specified name.
|
void | removeResourceEnvRef(String name)
Remove any resource environment reference with the specified name.
|
void | removeResourceLink(String name)
Remove any resource link with the specified name.
|
void | removeService(String name)
Remove any web service reference with the specified name.
|
void | setContainer(Object container)
Set the container with which the naming resources are associated. |
void | setTransaction(ContextTransaction transaction)
Set the transaction object. |
Parameters: ejb New EJB resource reference
Parameters: environment New environment entry
Parameters: ejb New EJB resource reference
Parameters: mdr New message destination reference
Parameters: listener The listener to add
Parameters: resource New resource reference
Parameters: resource The resource
Parameters: resourceLink New resource link
Parameters: service New web service reference
null
.
Parameters: name Name of the desired EJB resource reference
null
.
Parameters: name Name of the desired environment entry
null
.
Parameters: name Name of the desired EJB resource reference
null
.
Parameters: name Name of the desired message destination reference
null
.
Parameters: name Name of the desired resource reference
null
.
Parameters: name Name of the desired resource environment reference
null
.
Parameters: name Name of the desired resource link
null
.
Parameters: name Name of the desired web service
Parameters: name Name of the EJB resource reference to remove
Parameters: name Name of the environment entry to remove
Parameters: name Name of the EJB resource reference to remove
Parameters: name Name of the message destination resource reference to remove
Parameters: listener The listener to remove
Parameters: name Name of the resource reference to remove
Parameters: name Name of the resource environment reference to remove
Parameters: name Name of the resource link to remove
Parameters: name Name of the web service reference to remove