Package org.apache.catalina.webresources
Class WarResourceSet
- java.lang.Object
- 
- All Implemented Interfaces:
- Lifecycle,- WebResourceSet
 
 public class WarResourceSet extends AbstractSingleArchiveResourceSet Represents aWebResourceSetbased on a WAR file.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.catalina.LifecycleLifecycle.SingleUse
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.catalina.webresources.AbstractArchiveResourceSetarchiveEntries, archiveLock
 - 
Fields inherited from class org.apache.catalina.webresources.AbstractResourceSetsm
 - 
Fields inherited from interface org.apache.catalina.LifecycleAFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT
 
- 
 - 
Constructor SummaryConstructors Constructor Description WarResourceSet()A no argument constructor is required for this to work with the digester.WarResourceSet(WebResourceRoot root, java.lang.String webAppMount, java.lang.String base)Creates a newWebResourceSetbased on a WAR file.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WebResourcecreateArchiveResource(java.util.jar.JarEntry jarEntry, java.lang.String webAppPath, java.util.jar.Manifest manifest)- 
Methods inherited from class org.apache.catalina.webresources.AbstractSingleArchiveResourceSetgetArchiveEntries, getArchiveEntry, initInternal, isMultiRelease
 - 
Methods inherited from class org.apache.catalina.webresources.AbstractArchiveResourceSetcloseJarFile, gc, getBaseUrl, getBaseUrlString, getResource, isReadOnly, list, listWebAppPaths, mkdir, openJarFile, setBaseUrl, setReadOnly, write
 - 
Methods inherited from class org.apache.catalina.webresources.AbstractResourceSetcheckPath, destroyInternal, getBase, getClassLoaderOnly, getInternalPath, getManifest, getRoot, getStaticOnly, getWebAppMount, setBase, setClassLoaderOnly, setInternalPath, setManifest, setRoot, setStaticOnly, setWebAppMount, startInternal, stopInternal
 - 
Methods inherited from class org.apache.catalina.util.LifecycleBaseaddLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, getThrowOnFailure, init, removeLifecycleListener, setState, setState, setThrowOnFailure, start, stop
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.catalina.LifecycleaddLifecycleListener, destroy, findLifecycleListeners, getState, getStateName, init, removeLifecycleListener, start, stop
 
- 
 
- 
- 
- 
Constructor Detail- 
WarResourceSetpublic WarResourceSet() A no argument constructor is required for this to work with the digester.
 - 
WarResourceSetpublic WarResourceSet(WebResourceRoot root, java.lang.String webAppMount, java.lang.String base) throws java.lang.IllegalArgumentException Creates a newWebResourceSetbased on a WAR file.- Parameters:
- root- The- WebResourceRootthis new- WebResourceSetwill be added to.
- webAppMount- The path within the web application at which this- WebResourceSetwill be mounted.
- base- The absolute path to the WAR file on the file system from which the resources will be served.
- Throws:
- java.lang.IllegalArgumentException- if the webAppMount is not valid (valid paths must start with '/')
 
 
- 
 - 
Method Detail- 
createArchiveResourceprotected WebResource createArchiveResource(java.util.jar.JarEntry jarEntry, java.lang.String webAppPath, java.util.jar.Manifest manifest) - Specified by:
- createArchiveResourcein class- AbstractArchiveResourceSet
 
 
- 
 
-