|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.config.war.WebAppConfig
public class WebAppConfig
Configuration for the web app.
| Constructor Summary | |
|---|---|
WebAppConfig()
|
|
| Method Summary | |
|---|---|
void |
addCopyResources(CopyResources copyResources)
Add a copy resources. |
void |
addEnvEntry(WebAppResource resource)
|
void |
addExcludeLibs(IncludeExcludeLibs excludeLibs)
Add a exclude jars. |
void |
addGlobalServletFilter(WebAppComponent filterConfig)
Add a global servlet filter to be applied to all web service requests. |
void |
addIncludeLibs(IncludeExcludeLibs includeLibs)
Add a include jars. |
void |
addManifestAttribute(java.lang.String section,
java.lang.String name,
java.lang.String value)
Adds a manifest entry to this war's manifest. |
void |
addResourceEnvRef(WebAppResource resource)
|
void |
addResourceRef(WebAppResource resource)
|
void |
addWebXmlAttribute(java.lang.String name,
java.lang.String value)
|
java.util.List<CopyResources> |
getCopyResources()
The resources to copy for this application. |
static java.util.jar.Manifest |
getDefaultManifest()
Get the default manifest for a war file. |
java.lang.String |
getDir()
The directory where to build the (expanded) app. |
java.util.List<WebAppResource> |
getEnvEntries()
Web app env entries. |
java.util.List<IncludeExcludeLibs> |
getExcludeLibs()
Get the list of exclude jars. |
java.util.List<WebAppComponent> |
getGlobalServletFilters()
The global servlet filters for this application. |
java.util.List<IncludeExcludeLibs> |
getIncludeLibs()
Get the list of include jars. |
java.util.jar.Manifest |
getManifest()
The manifest for this war. |
java.lang.String |
getMergeWebXML()
The web xml file to merge. |
java.net.URL |
getMergeWebXMLURL()
The web xml file to merge. |
java.lang.String |
getPostBase()
The base of the war directory after copying enunciate-specific files. |
java.lang.String |
getPreBase()
The base of the war directory before copying enunciate-specific files. |
java.util.List<WebAppResource> |
getResourceEnvRefs()
Web app resource env entries. |
java.util.List<WebAppResource> |
getResourceRefs()
Web app resource entries. |
java.lang.String |
getWar()
The war file. |
java.util.Map<java.lang.String,java.lang.String> |
getWebXmlAttributes()
|
java.lang.String |
getWebXMLTransform()
The (optional) stylesheet transformation through which to pass the generated web.xml file. |
java.net.URL |
getWebXMLTransformURL()
The (optional) stylesheet transformation through which to pass the generated web.xml file. |
boolean |
isDisabled()
Whether the application assembly is disabled. |
boolean |
isDoCompile()
whether this module should take on the responsibility of compiling the server-side classes. |
boolean |
isDoLibCopy()
whether this module should take on the responsibility of copying libraries to WEB-INF/lib. |
boolean |
isDoPackage()
whether this module should take on the responsibility of packaging (zipping) up the war |
boolean |
isExcludeDefaultLibs()
Whether to exclude the default libs. |
boolean |
isIncludeClasspathLibs()
Whether to include the default libs. |
void |
setDir(java.lang.String dir)
The directory where to build the (expanded) app. |
void |
setDisabled(boolean disabled)
Whether the application assembly is disabled. |
void |
setDoCompile(boolean doCompile)
whether this module should take on the responsibility of compiling the server-side classes |
void |
setDoLibCopy(boolean doLibCopy)
whether this module should take on the responsibility of copying libraries to WEB-INF/lib |
void |
setDoPackage(boolean doPackage)
whether this module should take on the responsibility of packaging (zipping) up the war |
void |
setExcludeDefaultLibs(boolean excludeDefaultLibs)
Whether to exclude the default libs. |
void |
setExludeDefaultLibs(boolean excludeDefaultLibs)
Whether to exclude the default libs. |
void |
setIncludeClasspathLibs(boolean includeClasspathLibs)
Whether to include the default libs. |
void |
setMergeWebXML(java.lang.String mergeWebXML)
The web xml file to merge. |
void |
setMergeWebXMLURL(java.net.URL mergeWebXMLURL)
The web xml file to merge. |
void |
setPostBase(java.lang.String postBase)
The base of the war directory after copying enunciate-specific files. |
void |
setPreBase(java.lang.String preBase)
The base of the war directory before copying enunciate-specific files. |
void |
setWar(java.lang.String war)
The war file. |
void |
setWebXMLTransform(java.lang.String stylesheet)
The (optional) stylesheet transformation through which to pass the generated web.xml file. |
void |
setWebXMLTransformURL(java.net.URL stylesheet)
The (optional) stylesheet transformation through which to pass the generated web.xml file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebAppConfig()
| Method Detail |
|---|
public boolean isDisabled()
public void setDisabled(boolean disabled)
disabled - Whether the application assembly is disabled.public java.lang.String getDir()
public void setDir(java.lang.String dir)
dir - The directory where to build the (expanded) app.public java.lang.String getWar()
public void setWar(java.lang.String war)
war - The war file.public boolean isIncludeClasspathLibs()
public void setIncludeClasspathLibs(boolean includeClasspathLibs)
includeClasspathLibs - Whether to include the default libs.public boolean isExcludeDefaultLibs()
public boolean isDoCompile()
public void setDoCompile(boolean doCompile)
doCompile - whether this module should take on the responsibility of compiling the server-side classespublic boolean isDoLibCopy()
public void setDoLibCopy(boolean doLibCopy)
doLibCopy - whether this module should take on the responsibility of copying libraries to WEB-INF/libpublic boolean isDoPackage()
public void setDoPackage(boolean doPackage)
doPackage - whether this module should take on the responsibility of packaging (zipping) up the warpublic void setExcludeDefaultLibs(boolean excludeDefaultLibs)
excludeDefaultLibs - Whether to exclude the default libs.public void setExludeDefaultLibs(boolean excludeDefaultLibs)
excludeDefaultLibs - Whether to exclude the default libs.public void addExcludeLibs(IncludeExcludeLibs excludeLibs)
excludeLibs - The exclude jars to add.public java.util.List<IncludeExcludeLibs> getExcludeLibs()
public void addIncludeLibs(IncludeExcludeLibs includeLibs)
includeLibs - The include jars to add.public java.util.List<IncludeExcludeLibs> getIncludeLibs()
public java.net.URL getWebXMLTransformURL()
public void setWebXMLTransformURL(java.net.URL stylesheet)
stylesheet - The stylesheet transformation through which to pass the generated web.xml file.public java.lang.String getWebXMLTransform()
public void setWebXMLTransform(java.lang.String stylesheet)
throws java.net.MalformedURLException
stylesheet - The stylesheet transformation through which to pass the generated web.xml file.
java.net.MalformedURLExceptionpublic java.net.URL getMergeWebXMLURL()
public void setMergeWebXMLURL(java.net.URL mergeWebXMLURL)
mergeWebXMLURL - The web xml file to merge.public java.lang.String getMergeWebXML()
public void setMergeWebXML(java.lang.String mergeWebXML)
throws java.net.MalformedURLException
mergeWebXML - The web xml file to merge.
java.net.MalformedURLExceptionpublic java.lang.String getPreBase()
public void setPreBase(java.lang.String preBase)
preBase - The base of the war directory before copying enunciate-specific files.public java.lang.String getPostBase()
public void setPostBase(java.lang.String postBase)
postBase - The base of the war directory after copying enunciate-specific files.public java.util.jar.Manifest getManifest()
public void addManifestAttribute(java.lang.String section,
java.lang.String name,
java.lang.String value)
section - The section. If null, the main section is assumed.name - The name of the attribute.value - The value of the attribute.public static java.util.jar.Manifest getDefaultManifest()
public java.util.List<CopyResources> getCopyResources()
public void addCopyResources(CopyResources copyResources)
copyResources - The copy resources to add.public java.util.List<WebAppComponent> getGlobalServletFilters()
public void addGlobalServletFilter(WebAppComponent filterConfig)
filterConfig - The filter configuration.public java.util.List<WebAppResource> getEnvEntries()
public void addEnvEntry(WebAppResource resource)
public java.util.List<WebAppResource> getResourceEnvRefs()
public void addResourceEnvRef(WebAppResource resource)
public java.util.List<WebAppResource> getResourceRefs()
public void addResourceRef(WebAppResource resource)
public java.util.Map<java.lang.String,java.lang.String> getWebXmlAttributes()
public void addWebXmlAttribute(java.lang.String name,
java.lang.String value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||