Class WebArchiveImpl
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
-
- org.jboss.shrinkwrap.impl.base.container.ContainerBase<T>
-
- org.jboss.shrinkwrap.impl.base.container.WebContainerBase<WebArchive>
-
- org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl
-
- All Implemented Interfaces:
Archive<WebArchive>
,Assignable
,ClassContainer<WebArchive>
,LibraryContainer<WebArchive>
,ManifestContainer<WebArchive>
,ResourceContainer<WebArchive>
,ServiceProviderContainer<WebArchive>
,WebContainer<WebArchive>
,WebArchive
,ArchiveFormatAssociable
public class WebArchiveImpl extends WebContainerBase<WebArchive> implements WebArchive
WebArchiveImpl- Version:
- $Revision: $
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Logger
log
private static ArchivePath
PATH_CLASSES
Path to the classes inside of the Archive.private static ArchivePath
PATH_LIBRARY
Path to the libraries inside of the Archive.private static ArchivePath
PATH_MANIFEST
Path to the manifests inside of the Archive.private static ArchivePath
PATH_RESOURCE
Path to the resources inside of the Archive.private static ArchivePath
PATH_SERVICE_PROVIDERS
Path to web archive service providers.private static ArchivePath
PATH_WEB
Path to the web inside of the Archive.private static ArchivePath
PATH_WEB_INF
Path to the WEB-INF inside of the Archive.-
Fields inherited from interface org.jboss.shrinkwrap.api.container.ManifestContainer
DEFAULT_MANIFEST_NAME
-
-
Constructor Summary
Constructors Constructor Description WebArchiveImpl(Archive<?> delegate)
Create a new WebArchive with any type storage engine as backing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArchivePath
getClassesPath()
Should be implemented to set the path for Class related resources.protected ArchivePath
getLibraryPath()
Should be implemented to set the path for Library related resources.protected ArchivePath
getManifestPath()
Should be implemented to set the path for Manifest related resources.protected ArchivePath
getResourcePath()
Should be implemented to set the path for Resource related resources.protected ArchivePath
getServiceProvidersPath()
Returns the path to web container service providersprotected ArchivePath
getWebInfPath()
Returns the path to WEB-INFprotected ArchivePath
getWebPath()
Returns the path to web resources-
Methods inherited from class org.jboss.shrinkwrap.impl.base.container.WebContainerBase
addAsServiceProvider, addAsServiceProvider, addAsServiceProviderAndClasses, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResources, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResources, setWebXML, setWebXML, setWebXML, setWebXML, setWebXML
-
Methods inherited from class org.jboss.shrinkwrap.impl.base.container.ContainerBase
add, add, add, add, add, add, add, addAsDirectories, addAsDirectories, addAsDirectory, addAsDirectory, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResources, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResources, addClass, addClass, addClass, addClasses, addDefaultPackage, addHandlers, addManifest, addPackage, addPackage, addPackages, addPackages, addPackages, addPackages, contains, contains, covarientReturn, delete, delete, deleteClass, deleteClass, deleteClasses, deleteDefaultPackage, deletePackage, deletePackage, deletePackages, deletePackages, deletePackages, deletePackages, equals, filter, get, get, getActualClass, getArchiveFormat, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getContent, getContent, getId, getName, hashCode, merge, merge, merge, merge, merge, merge, move, move, setManifest, setManifest, setManifest, setManifest, setManifest, shallowCopy, shallowCopy, toString, toString, toString, writeTo
-
Methods inherited from class org.jboss.shrinkwrap.impl.base.AssignableBase
as, getArchive
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.shrinkwrap.api.Archive
add, add, add, add, add, add, add, addAsDirectories, addAsDirectories, addAsDirectory, addAsDirectory, addHandlers, contains, contains, delete, delete, filter, get, get, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getContent, getContent, getId, getName, merge, merge, merge, merge, merge, merge, move, move, shallowCopy, shallowCopy, toString, toString, toString, writeTo
-
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
-
Methods inherited from interface org.jboss.shrinkwrap.api.container.ClassContainer
addClass, addClass, addClass, addClasses, addDefaultPackage, addPackage, addPackage, addPackages, addPackages, addPackages, addPackages, deleteClass, deleteClass, deleteClasses, deleteDefaultPackage, deletePackage, deletePackage, deletePackages, deletePackages, deletePackages, deletePackages
-
Methods inherited from interface org.jboss.shrinkwrap.api.container.LibraryContainer
addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary
-
Methods inherited from interface org.jboss.shrinkwrap.api.container.ManifestContainer
addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResources, addAsServiceProvider, addAsServiceProvider, addManifest, setManifest, setManifest, setManifest, setManifest, setManifest
-
Methods inherited from interface org.jboss.shrinkwrap.api.container.ResourceContainer
addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResources
-
Methods inherited from interface org.jboss.shrinkwrap.api.container.ServiceProviderContainer
addAsServiceProviderAndClasses
-
Methods inherited from interface org.jboss.shrinkwrap.api.container.WebContainer
addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResource, addAsWebInfResources, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResource, addAsWebResources, setWebXML, setWebXML, setWebXML, setWebXML, setWebXML
-
-
-
-
Field Detail
-
log
private static final java.util.logging.Logger log
-
PATH_WEB
private static final ArchivePath PATH_WEB
Path to the web inside of the Archive.
-
PATH_WEB_INF
private static final ArchivePath PATH_WEB_INF
Path to the WEB-INF inside of the Archive.
-
PATH_RESOURCE
private static final ArchivePath PATH_RESOURCE
Path to the resources inside of the Archive.
-
PATH_LIBRARY
private static final ArchivePath PATH_LIBRARY
Path to the libraries inside of the Archive.
-
PATH_CLASSES
private static final ArchivePath PATH_CLASSES
Path to the classes inside of the Archive.
-
PATH_MANIFEST
private static final ArchivePath PATH_MANIFEST
Path to the manifests inside of the Archive.
-
PATH_SERVICE_PROVIDERS
private static final ArchivePath PATH_SERVICE_PROVIDERS
Path to web archive service providers.
-
-
Constructor Detail
-
WebArchiveImpl
public WebArchiveImpl(Archive<?> delegate)
Create a new WebArchive with any type storage engine as backing.- Parameters:
delegate
- The storage backing.
-
-
Method Detail
-
getManifestPath
protected ArchivePath getManifestPath()
Should be implemented to set the path for Manifest related resources.- Specified by:
getManifestPath
in classContainerBase<WebArchive>
- Returns:
- Base Path for the ManifestContainer resources
- See Also:
ContainerBase.getManifestPath()
-
getClassesPath
protected ArchivePath getClassesPath()
Should be implemented to set the path for Class related resources.- Specified by:
getClassesPath
in classContainerBase<WebArchive>
- Returns:
- Base Path for the ClassContainer resources
- See Also:
ContainerBase.getClassesPath()
-
getResourcePath
protected ArchivePath getResourcePath()
Should be implemented to set the path for Resource related resources.- Specified by:
getResourcePath
in classContainerBase<WebArchive>
- Returns:
- Base Path for the ResourceContainer resources
- See Also:
ContainerBase.getResourcePath()
-
getLibraryPath
protected ArchivePath getLibraryPath()
Should be implemented to set the path for Library related resources.- Specified by:
getLibraryPath
in classContainerBase<WebArchive>
- Returns:
- Base Path for the LibraryContainer resources
- See Also:
ContainerBase.getLibraryPath()
-
getWebPath
protected ArchivePath getWebPath()
Returns the path to web resources- Specified by:
getWebPath
in classWebContainerBase<WebArchive>
- Returns:
- Base Path for the web resources
- See Also:
WebContainerBase.getWebPath()
-
getWebInfPath
protected ArchivePath getWebInfPath()
Returns the path to WEB-INF- Specified by:
getWebInfPath
in classWebContainerBase<WebArchive>
- Returns:
- the path to WEB-INF
- See Also:
WebContainerBase.getWebInfPath()
-
getServiceProvidersPath
protected ArchivePath getServiceProvidersPath()
Returns the path to web container service providers- Specified by:
getServiceProvidersPath
in classWebContainerBase<WebArchive>
- Returns:
- the path to web container service providers
- See Also:
WebContainerBase.getWebInfPath()
-
-