Class EnterpriseArchiveImpl
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
-
- org.jboss.shrinkwrap.impl.base.container.ContainerBase<T>
-
- org.jboss.shrinkwrap.impl.base.container.EnterpriseContainerBase<EnterpriseArchive>
-
- org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl
-
- All Implemented Interfaces:
Archive<EnterpriseArchive>
,Assignable
,ClassContainer<EnterpriseArchive>
,EnterpriseContainer<EnterpriseArchive>
,LibraryContainer<EnterpriseArchive>
,ManifestContainer<EnterpriseArchive>
,ResourceContainer<EnterpriseArchive>
,ServiceProviderContainer<EnterpriseArchive>
,EnterpriseArchive
,ArchiveFormatAssociable
public class EnterpriseArchiveImpl extends EnterpriseContainerBase<EnterpriseArchive> implements EnterpriseArchive
EnterpriseArchiveImpl- Version:
- $Revision: $
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Logger
log
private static ArchivePath
PATH_APPLICATION
Path to the application resources.private static ArchivePath
PATH_LIBRARY
Path to the application libraries.private static ArchivePath
PATH_MANIFEST
Path to the manifests inside of the Archive.private static ArchivePath
PATH_MODULE
Path to the application modules.private static ArchivePath
PATH_RESOURCE
Path to the resources inside of the Archive.-
Fields inherited from interface org.jboss.shrinkwrap.api.container.ManifestContainer
DEFAULT_MANIFEST_NAME
-
-
Constructor Summary
Constructors Constructor Description EnterpriseArchiveImpl(Archive<?> delegate)
Create a new EnterpriseArchive with any type storage engine as backing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArchivePath
getApplicationPath()
Should be implemented to set the path for Application related resources.protected ArchivePath
getClassesPath()
Classes are not supported by EnterpriseArchive.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
getModulePath()
Should be implemented to set the path for Module related resources.protected ArchivePath
getResourcePath()
Should be implemented to set the path for Resource related resources.-
Methods inherited from class org.jboss.shrinkwrap.impl.base.container.EnterpriseContainerBase
addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResources, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModules, addAsModules, addAsModules, setApplicationXML, setApplicationXML, setApplicationXML, setApplicationXML, setApplicationXML
-
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, addAsServiceProvider, addAsServiceProvider, addAsServiceProviderAndClasses, 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.EnterpriseContainer
addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResources, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModules, addAsModules, addAsModules, setApplicationXML, setApplicationXML, setApplicationXML, setApplicationXML, setApplicationXML
-
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
-
-
-
-
Field Detail
-
log
private static final java.util.logging.Logger log
-
PATH_MANIFEST
private static final ArchivePath PATH_MANIFEST
Path to the manifests inside of the Archive.
-
PATH_RESOURCE
private static final ArchivePath PATH_RESOURCE
Path to the resources inside of the Archive.
-
PATH_APPLICATION
private static final ArchivePath PATH_APPLICATION
Path to the application resources.
-
PATH_LIBRARY
private static final ArchivePath PATH_LIBRARY
Path to the application libraries.
-
PATH_MODULE
private static final ArchivePath PATH_MODULE
Path to the application modules.
-
-
Constructor Detail
-
EnterpriseArchiveImpl
public EnterpriseArchiveImpl(Archive<?> delegate)
Create a new EnterpriseArchive with any type storage engine as backing.- Parameters:
delegate
- The storage backing.
-
-
Method Detail
-
getLibraryPath
public ArchivePath getLibraryPath()
Description copied from class:ContainerBase
Should be implemented to set the path for Library related resources.- Specified by:
getLibraryPath
in classContainerBase<EnterpriseArchive>
- Returns:
- Base Path for the LibraryContainer resources
-
getResourcePath
protected ArchivePath getResourcePath()
Description copied from class:ContainerBase
Should be implemented to set the path for Resource related resources.- Specified by:
getResourcePath
in classContainerBase<EnterpriseArchive>
- Returns:
- Base Path for the ResourceContainer resources
-
getManifestPath
protected ArchivePath getManifestPath()
Description copied from class:ContainerBase
Should be implemented to set the path for Manifest related resources.- Specified by:
getManifestPath
in classContainerBase<EnterpriseArchive>
- Returns:
- Base Path for the ManifestContainer resources
-
getApplicationPath
protected ArchivePath getApplicationPath()
Description copied from class:EnterpriseContainerBase
Should be implemented to set the path for Application related resources.- Specified by:
getApplicationPath
in classEnterpriseContainerBase<EnterpriseArchive>
- Returns:
- Base Path for the EnterpriseContainer application resources
-
getModulePath
protected ArchivePath getModulePath()
Description copied from class:EnterpriseContainerBase
Should be implemented to set the path for Module related resources.- Specified by:
getModulePath
in classEnterpriseContainerBase<EnterpriseArchive>
- Returns:
- Base Path for the EnterpriseContainer module resources
-
getClassesPath
protected ArchivePath getClassesPath()
Classes are not supported by EnterpriseArchive.- Specified by:
getClassesPath
in classContainerBase<EnterpriseArchive>
- Returns:
- Base Path for the ClassContainer resources
- Throws:
java.lang.UnsupportedOperationException
- EnterpriseArchive does not support classes
-
-