Java Doc for WebXmlMerger.java in  » Testing » jakarta-cactus » org » apache » cactus » integration » ant » deployment » webapp » 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 » Testing » jakarta cactus » org.apache.cactus.integration.ant.deployment.webapp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger

WebXmlMerger
public class WebXmlMerger (Code)
Helper class that can merge two web deployment descriptors.
since:
   Cactus 1.5
version:
   $Id: WebXmlMerger.java 239137 2005-02-10 19:51:34Z vmassol $



Constructor Summary
public  WebXmlMerger(WebXml theWebXml)
     Constructor.

Method Summary
final protected  voidcheckServletVersions(WebXml theWebXml)
     Checks the versions of the servlet API in each descriptor, and logs a warning if a mismatch might result in the loss of definitions.
final public  voidmerge(WebXml theMergeWebXml)
     Merges the merge descriptor with the original descriptor.
final protected  voidmergeContextParams(WebXml theWebXml)
     Merges the context-param definitions from the specified descriptor into the original descriptor.
final protected  voidmergeEjbLocalRefs(WebXml theWebXml)
     Merges the EJB local references from the provided descriptor into the original descriptor.
final protected  voidmergeEjbRefs(WebXml theWebXml)
     Merges the EJB references from the provided descriptor into the original descriptor.
final protected  voidmergeEnvironmentEntries(WebXml theWebXml)
     Merges the environment entries from the provided descriptor into the original descriptor.
final protected  voidmergeFilters(WebXml theWebXml)
     Merges the servlet definitions from the specified descriptor into the original descriptor.
final protected  voidmergeLoginConfig(WebXml theWebXml)
     Merges the login configuration from the provided descriptor into the original descriptor, thereby eventually replacing the existing login config.
final protected  voidmergeResourceEnvironmentReferences(WebXml theWebXml)
     Merges the resource environment references from the provided descriptor into the original descriptor.
final protected  voidmergeResourceReferences(WebXml theWebXml)
     Merges the resource references from the provided descriptor into the original descriptor.
final protected  voidmergeSecurityConstraints(WebXml theWebXml)
    
final protected  voidmergeSecurityRoles(WebXml theWebXml)
     Merges the security roles from the provided descriptor into the original descriptor.
final protected  voidmergeServlets(WebXml theWebXml)
     Merges the servlet definitions from the specified descriptor into the original descriptor.
final public  voidsetLog(Log theLog)
     Sets the log to which events should be written.


Constructor Detail
WebXmlMerger
public WebXmlMerger(WebXml theWebXml)(Code)
Constructor.
Parameters:
  theWebXml - The original descriptor




Method Detail
checkServletVersions
final protected void checkServletVersions(WebXml theWebXml)(Code)
Checks the versions of the servlet API in each descriptor, and logs a warning if a mismatch might result in the loss of definitions.
Parameters:
  theWebXml - The descriptor that will be merged with the original



merge
final public void merge(WebXml theMergeWebXml)(Code)
Merges the merge descriptor with the original descriptor.
Parameters:
  theMergeWebXml - The descriptor to merge in



mergeContextParams
final protected void mergeContextParams(WebXml theWebXml)(Code)
Merges the context-param definitions from the specified descriptor into the original descriptor.
Parameters:
  theWebXml - The descriptor that contains the context-params definitions that are to be merged into the original descriptor



mergeEjbLocalRefs
final protected void mergeEjbLocalRefs(WebXml theWebXml)(Code)
Merges the EJB local references from the provided descriptor into the original descriptor.
Parameters:
  theWebXml - The descriptor that contains the EJB local refs that areto be merged into the original descriptor



mergeEjbRefs
final protected void mergeEjbRefs(WebXml theWebXml)(Code)
Merges the EJB references from the provided descriptor into the original descriptor.
Parameters:
  theWebXml - The descriptor that contains the EJB refs that are to bemerged into the original descriptor



mergeEnvironmentEntries
final protected void mergeEnvironmentEntries(WebXml theWebXml)(Code)
Merges the environment entries from the provided descriptor into the original descriptor.
Parameters:
  theWebXml - The descriptor that contains the environment entriesthat are to be merged into the original descriptor



mergeFilters
final protected void mergeFilters(WebXml theWebXml)(Code)
Merges the servlet definitions from the specified descriptor into the original descriptor.
Parameters:
  theWebXml - The descriptor that contains the filter definitionsthat are to be merged into the original descriptor



mergeLoginConfig
final protected void mergeLoginConfig(WebXml theWebXml)(Code)
Merges the login configuration from the provided descriptor into the original descriptor, thereby eventually replacing the existing login config.
Parameters:
  theWebXml - The descriptor that contains the login config thatis to be merged into the original descriptor



mergeResourceEnvironmentReferences
final protected void mergeResourceEnvironmentReferences(WebXml theWebXml)(Code)
Merges the resource environment references from the provided descriptor into the original descriptor.
Parameters:
  theWebXml - The descriptor that contains the references that are tobe merged into the original descriptor



mergeResourceReferences
final protected void mergeResourceReferences(WebXml theWebXml)(Code)
Merges the resource references from the provided descriptor into the original descriptor.
Parameters:
  theWebXml - The descriptor that contains the resource refs thatare to be merged into the original descriptor



mergeSecurityConstraints
final protected void mergeSecurityConstraints(WebXml theWebXml)(Code)
Merges the
Parameters:
  theWebXml - The descriptor that contains the security constraintsthat are to be merged into the original descriptor



mergeSecurityRoles
final protected void mergeSecurityRoles(WebXml theWebXml)(Code)
Merges the security roles from the provided descriptor into the original descriptor.
Parameters:
  theWebXml - The descriptor that contains the security roles thatare to be merged into the original descriptor



mergeServlets
final protected void mergeServlets(WebXml theWebXml)(Code)
Merges the servlet definitions from the specified descriptor into the original descriptor.
Parameters:
  theWebXml - The descriptor that contains the servlet definitionsthat are to be merged into the original descriptor



setLog
final public void setLog(Log theLog)(Code)
Sets the log to which events should be written. This method must be called before any of the other methods, because the class will rely on being able to log.
Parameters:
  theLog - The log to use



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.