Package | Description |
---|---|
org.codehaus.cargo.module.webapp |
Modifier and Type | Method and Description |
---|---|
WebXml |
DefaultWarArchive.getWebXml()
Returns the deployment descriptor of the web application.
|
WebXml |
WarArchive.getWebXml()
Returns the deployment descriptor of the web application.
|
WebXml |
WarArchiveMerger.MergedWarArchive.getWebXml()
Returns the deployment descriptor of the web application.
|
static WebXml |
WebXmlIo.newWebXml(WebXmlVersion theVersion)
Creates a new empty deployment descriptor.
|
static WebXml |
WebXmlIo.parseWebXml(InputStream theInput,
EntityResolver theEntityResolver)
Parses a deployment descriptor provided as input stream.
|
static WebXml |
WebXmlIo.parseWebXmlFromFile(File theFile,
EntityResolver theEntityResolver)
Parses a deployment descriptor stored in a regular file.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WebXmlMerger.checkServletVersions(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.
|
protected VendorWebAppDescriptor |
WebXmlMerger.getVendorWebAppDescriptor(WebXml theWebXml,
Class clazz)
Get the vendor web app descriptor out of the web xml.
|
void |
WebXmlMerger.merge(WebXml theMergeWebXml)
Merges the merge descriptor with the original descriptor.
|
protected void |
WebXmlMerger.mergeContextParams(WebXml theWebXml)
Merges the context-param definitions from the specified descriptor into the original
descriptor.
|
protected void |
WebXmlMerger.mergeEjbLocalRefs(WebXml theWebXml)
Merges the EJB local references from the provided descriptor into the original descriptor.
|
protected void |
WebXmlMerger.mergeEjbRefs(WebXml theWebXml)
Merges the EJB references from the provided descriptor into the original descriptor.
|
protected void |
WebXmlMerger.mergeEnvironmentEntries(WebXml theWebXml)
Merges the environment entries from the provided descriptor into the original descriptor.
|
protected void |
WebXmlMerger.mergeFilters(WebXml theWebXml)
Merges the servlet definitions from the specified descriptor into the original descriptor.
|
protected void |
WebXmlMerger.mergeListeners(WebXml theWebXml)
Merges the listener elements from the provided descriptor into the original
descriptor.
|
protected void |
WebXmlMerger.mergeLoginConfig(WebXml theWebXml)
Merges the login configuration from the provided descriptor into the original descriptor,
thereby eventually replacing the existing login config.
|
protected void |
WebXmlMerger.mergeResourceEnvironmentReferences(WebXml theWebXml)
Merges the resource environment references from the provided descriptor into the original
descriptor.
|
protected void |
WebXmlMerger.mergeResourceReferences(WebXml theWebXml)
Merges the resource references from the provided descriptor into the original descriptor.
|
protected void |
WebXmlMerger.mergeSecurityConstraints(WebXml theWebXml) |
protected void |
WebXmlMerger.mergeSecurityRoles(WebXml theWebXml)
Merges the security roles from the provided descriptor into the original descriptor.
|
protected void |
WebXmlMerger.mergeServlets(WebXml theWebXml)
Merges the servlet definitions from the specified descriptor into the original descriptor.
|
protected void |
WebXmlMerger.mergeVendorDescriptors(WebXml theWebXml)
Merge in any vendor specific descriptors.
|
protected void |
WebXmlMerger.mergeVendorDescriptors(WebXml theWebXml,
Class clazz,
WebXmlMerger.IMergeImplementation merger)
Find vendor descriptors of a specific class, and merge them if they exist.
|
Constructor and Description |
---|
WebXmlMerger(WebXml theWebXml)
Constructor.
|
Copyright © 2004-2013 Codehaus. All Rights Reserved.