Java Doc for NamingResources.java in  » Sevlet-Container » tomcat-catalina » org » apache » catalina » deploy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Sevlet Container » tomcat catalina » org.apache.catalina.deploy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.catalina.deploy.NamingResources

NamingResources
public class NamingResources implements Serializable(Code)
Holds and manages the naming resources defined in the J2EE Enterprise Naming Context and their associated JNDI context.
author:
   Remy Maucherat
version:
   $Revision: 1.6 $ $Date: 2004/05/26 15:46:22 $


Field Summary
protected  PropertyChangeSupportsupport
     The property change support for this component.

Constructor Summary
public  NamingResources()
     Create a new NamingResources instance.

Method Summary
public  voidaddEjb(ContextEjb ejb)
     Add an EJB resource reference for this web application.
public  voidaddEnvironment(ContextEnvironment environment)
     Add an environment entry for this web application.
public  voidaddLocalEjb(ContextLocalEjb ejb)
     Add a local EJB resource reference for this web application.
public  voidaddMessageDestinationRef(MessageDestinationRef mdr)
     Add a message destination reference for this web application.
public  voidaddPropertyChangeListener(PropertyChangeListener listener)
     Add a property change listener to this component.
public  voidaddResource(ContextResource resource)
     Add a resource reference for this web application.
public  voidaddResourceEnvRef(String name, String type)
     Add a resource environment reference for this web application.
public  voidaddResourceLink(ContextResourceLink resourceLink)
     Add a resource link for this web application.
public  voidaddResourceParams(ResourceParams resourceParameters)
     Add resource parameters for this web application.
public  booleanexists(String name)
     Return true if the name specified already exists.
public  ContextEjbfindEjb(String name)
     Return the EJB resource reference with the specified name, if any; otherwise, return null.
public  ContextEjb[]findEjbs()
     Return the defined EJB resource references for this application.
public  ContextEnvironmentfindEnvironment(String name)
     Return the environment entry with the specified name, if any; otherwise, return null.
public  ContextEnvironment[]findEnvironments()
     Return the set of defined environment entries for this web application.
public  ContextLocalEjbfindLocalEjb(String name)
     Return the local EJB resource reference with the specified name, if any; otherwise, return null.
public  ContextLocalEjb[]findLocalEjbs()
     Return the defined local EJB resource references for this application.
public  MessageDestinationReffindMessageDestinationRef(String name)
     Return the message destination reference with the specified name, if any; otherwise, return null.
public  MessageDestinationRef[]findMessageDestinationRefs()
     Return the defined message destination references for this application.
public  ContextResourcefindResource(String name)
     Return the resource reference with the specified name, if any; otherwise return null.
public  StringfindResourceEnvRef(String name)
     Return the resource environment reference type for the specified name, if any; otherwise return null.
public  String[]findResourceEnvRefs()
     Return the set of resource environment reference names for this web application.
public  ContextResourceLinkfindResourceLink(String name)
     Return the resource link with the specified name, if any; otherwise return null.
public  ContextResourceLink[]findResourceLinks()
     Return the defined resource links for this application.
public  ResourceParamsfindResourceParams(String name)
     Return the resource parameters with the specified name, if any; otherwise return null.
public  ResourceParams[]findResourceParams()
     Return the resource parameters with the specified name, if any; otherwise return null.
public  ContextResource[]findResources()
     Return the defined resource references for this application.
public  ObjectgetContainer()
     Get the container with which the naming resources are associated.
public  voidremoveEjb(String name)
     Remove any EJB resource reference with the specified name.
public  voidremoveEnvironment(String name)
     Remove any environment entry with the specified name.
public  voidremoveLocalEjb(String name)
     Remove any local EJB resource reference with the specified name.
public  voidremoveMessageDestinationRef(String name)
     Remove any message destination reference with the specified name.
public  voidremovePropertyChangeListener(PropertyChangeListener listener)
     Remove a property change listener from this component.
public  voidremoveResource(String name)
     Remove any resource reference with the specified name.
public  voidremoveResourceEnvRef(String name)
     Remove any resource environment reference with the specified name.
public  voidremoveResourceLink(String name)
     Remove any resource link with the specified name.
public  voidremoveResourceParams(String name)
     Remove any resource parameters with the specified name.
public  voidsetContainer(Object container)
     Set the container with which the naming resources are associated.

Field Detail
support
protected PropertyChangeSupport support(Code)
The property change support for this component.




Constructor Detail
NamingResources
public NamingResources()(Code)
Create a new NamingResources instance.




Method Detail
addEjb
public void addEjb(ContextEjb ejb)(Code)
Add an EJB resource reference for this web application.
Parameters:
  ejb - New EJB resource reference



addEnvironment
public void addEnvironment(ContextEnvironment environment)(Code)
Add an environment entry for this web application.
Parameters:
  environment - New environment entry



addLocalEjb
public void addLocalEjb(ContextLocalEjb ejb)(Code)
Add a local EJB resource reference for this web application.
Parameters:
  ejb - New EJB resource reference



addMessageDestinationRef
public void addMessageDestinationRef(MessageDestinationRef mdr)(Code)
Add a message destination reference for this web application.
Parameters:
  mdr - New message destination reference



addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)
Add a property change listener to this component.
Parameters:
  listener - The listener to add



addResource
public void addResource(ContextResource resource)(Code)
Add a resource reference for this web application.
Parameters:
  resource - New resource reference



addResourceEnvRef
public void addResourceEnvRef(String name, String type)(Code)
Add a resource environment reference for this web application.
Parameters:
  name - The resource environment reference name
Parameters:
  type - The resource environment reference type



addResourceLink
public void addResourceLink(ContextResourceLink resourceLink)(Code)
Add a resource link for this web application.
Parameters:
  resourceLink - New resource link



addResourceParams
public void addResourceParams(ResourceParams resourceParameters)(Code)
Add resource parameters for this web application.
Parameters:
  resourceParameters - New resource parameters



exists
public boolean exists(String name)(Code)
Return true if the name specified already exists.



findEjb
public ContextEjb findEjb(String name)(Code)
Return the EJB resource reference with the specified name, if any; otherwise, return null.
Parameters:
  name - Name of the desired EJB resource reference



findEjbs
public ContextEjb[] findEjbs()(Code)
Return the defined EJB resource references for this application. If there are none, a zero-length array is returned.



findEnvironment
public ContextEnvironment findEnvironment(String name)(Code)
Return the environment entry with the specified name, if any; otherwise, return null.
Parameters:
  name - Name of the desired environment entry



findEnvironments
public ContextEnvironment[] findEnvironments()(Code)
Return the set of defined environment entries for this web application. If none have been defined, a zero-length array is returned.



findLocalEjb
public ContextLocalEjb findLocalEjb(String name)(Code)
Return the local EJB resource reference with the specified name, if any; otherwise, return null.
Parameters:
  name - Name of the desired EJB resource reference



findLocalEjbs
public ContextLocalEjb[] findLocalEjbs()(Code)
Return the defined local EJB resource references for this application. If there are none, a zero-length array is returned.



findMessageDestinationRef
public MessageDestinationRef findMessageDestinationRef(String name)(Code)
Return the message destination reference with the specified name, if any; otherwise, return null.
Parameters:
  name - Name of the desired message destination reference



findMessageDestinationRefs
public MessageDestinationRef[] findMessageDestinationRefs()(Code)
Return the defined message destination references for this application. If there are none, a zero-length array is returned.



findResource
public ContextResource findResource(String name)(Code)
Return the resource reference with the specified name, if any; otherwise return null.
Parameters:
  name - Name of the desired resource reference



findResourceEnvRef
public String findResourceEnvRef(String name)(Code)
Return the resource environment reference type for the specified name, if any; otherwise return null.
Parameters:
  name - Name of the desired resource environment reference



findResourceEnvRefs
public String[] findResourceEnvRefs()(Code)
Return the set of resource environment reference names for this web application. If none have been specified, a zero-length array is returned.



findResourceLink
public ContextResourceLink findResourceLink(String name)(Code)
Return the resource link with the specified name, if any; otherwise return null.
Parameters:
  name - Name of the desired resource link



findResourceLinks
public ContextResourceLink[] findResourceLinks()(Code)
Return the defined resource links for this application. If none have been defined, a zero-length array is returned.



findResourceParams
public ResourceParams findResourceParams(String name)(Code)
Return the resource parameters with the specified name, if any; otherwise return null.



findResourceParams
public ResourceParams[] findResourceParams()(Code)
Return the resource parameters with the specified name, if any; otherwise return null.
Parameters:
  name - Name of the desired resource parameters



findResources
public ContextResource[] findResources()(Code)
Return the defined resource references for this application. If none have been defined, a zero-length array is returned.



getContainer
public Object getContainer()(Code)
Get the container with which the naming resources are associated.



removeEjb
public void removeEjb(String name)(Code)
Remove any EJB resource reference with the specified name.
Parameters:
  name - Name of the EJB resource reference to remove



removeEnvironment
public void removeEnvironment(String name)(Code)
Remove any environment entry with the specified name.
Parameters:
  name - Name of the environment entry to remove



removeLocalEjb
public void removeLocalEjb(String name)(Code)
Remove any local EJB resource reference with the specified name.
Parameters:
  name - Name of the EJB resource reference to remove



removeMessageDestinationRef
public void removeMessageDestinationRef(String name)(Code)
Remove any message destination reference with the specified name.
Parameters:
  name - Name of the message destination resource reference to remove



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)
Remove a property change listener from this component.
Parameters:
  listener - The listener to remove



removeResource
public void removeResource(String name)(Code)
Remove any resource reference with the specified name.
Parameters:
  name - Name of the resource reference to remove



removeResourceEnvRef
public void removeResourceEnvRef(String name)(Code)
Remove any resource environment reference with the specified name.
Parameters:
  name - Name of the resource environment reference to remove



removeResourceLink
public void removeResourceLink(String name)(Code)
Remove any resource link with the specified name.
Parameters:
  name - Name of the resource link to remove



removeResourceParams
public void removeResourceParams(String name)(Code)
Remove any resource parameters with the specified name.
Parameters:
  name - Name of the resource parameters to remove



setContainer
public void setContainer(Object container)(Code)
Set the container with which the naming resources are associated.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.