Class EnterpriseArchiveImpl
java.lang.Object
org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
org.jboss.shrinkwrap.impl.base.container.ContainerBase<EnterpriseArchive>
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
FieldsModifier and TypeFieldDescriptionprivate static final Logger
private static final ArchivePath
Path to the application resources.private static final ArchivePath
Path to the application libraries.private static final ArchivePath
Path to the manifests inside of the Archive.private static final ArchivePath
Path to the application modules.private static final ArchivePath
Path to the resources inside of the Archive.Fields inherited from interface org.jboss.shrinkwrap.api.container.ManifestContainer
DEFAULT_MANIFEST_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionEnterpriseArchiveImpl
(Archive<?> delegate) Create a new EnterpriseArchive with any type storage engine as backing. -
Method Summary
Modifier and TypeMethodDescriptionprotected ArchivePath
Should be implemented to set the path for Application related resources.protected ArchivePath
Classes are not supported by EnterpriseArchive.Should be implemented to set the path for Library related resources.protected ArchivePath
Should be implemented to set the path for Manifest related resources.protected ArchivePath
Should be implemented to set the path for Module related resources.protected ArchivePath
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 Details
-
log
-
PATH_MANIFEST
Path to the manifests inside of the Archive. -
PATH_RESOURCE
Path to the resources inside of the Archive. -
PATH_APPLICATION
Path to the application resources. -
PATH_LIBRARY
Path to the application libraries. -
PATH_MODULE
Path to the application modules.
-
-
Constructor Details
-
EnterpriseArchiveImpl
Create a new EnterpriseArchive with any type storage engine as backing.- Parameters:
delegate
- The storage backing.
-
-
Method Details
-
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
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
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
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
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
Classes are not supported by EnterpriseArchive.- Specified by:
getClassesPath
in classContainerBase<EnterpriseArchive>
- Returns:
- Base Path for the ClassContainer resources
- Throws:
UnsupportedOperationException
- EnterpriseArchive does not support classes
-