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 Loggerprivate static final ArchivePathPath to the application resources.private static final ArchivePathPath to the application libraries.private static final ArchivePathPath to the manifests inside of the Archive.private static final ArchivePathPath to the application modules.private static final ArchivePathPath 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 ArchivePathShould be implemented to set the path for Application related resources.protected ArchivePathClasses are not supported by EnterpriseArchive.Should be implemented to set the path for Library related resources.protected ArchivePathShould be implemented to set the path for Manifest related resources.protected ArchivePathShould be implemented to set the path for Module related resources.protected ArchivePathShould 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, setApplicationXMLMethods 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, writeToMethods inherited from class org.jboss.shrinkwrap.impl.base.AssignableBase
as, getArchiveMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, writeToMethods inherited from interface org.jboss.shrinkwrap.api.Assignable
asMethods 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, setApplicationXMLMethods inherited from interface org.jboss.shrinkwrap.api.container.LibraryContainer
addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibraryMethods 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, setManifestMethods 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:ContainerBaseShould be implemented to set the path for Library related resources.- Specified by:
getLibraryPathin classContainerBase<EnterpriseArchive>- Returns:
- Base Path for the LibraryContainer resources
-
getResourcePath
Description copied from class:ContainerBaseShould be implemented to set the path for Resource related resources.- Specified by:
getResourcePathin classContainerBase<EnterpriseArchive>- Returns:
- Base Path for the ResourceContainer resources
-
getManifestPath
Description copied from class:ContainerBaseShould be implemented to set the path for Manifest related resources.- Specified by:
getManifestPathin classContainerBase<EnterpriseArchive>- Returns:
- Base Path for the ManifestContainer resources
-
getApplicationPath
Description copied from class:EnterpriseContainerBaseShould be implemented to set the path for Application related resources.- Specified by:
getApplicationPathin classEnterpriseContainerBase<EnterpriseArchive>- Returns:
- Base Path for the EnterpriseContainer application resources
-
getModulePath
Description copied from class:EnterpriseContainerBaseShould be implemented to set the path for Module related resources.- Specified by:
getModulePathin classEnterpriseContainerBase<EnterpriseArchive>- Returns:
- Base Path for the EnterpriseContainer module resources
-
getClassesPath
Classes are not supported by EnterpriseArchive.- Specified by:
getClassesPathin classContainerBase<EnterpriseArchive>- Returns:
- Base Path for the ClassContainer resources
- Throws:
UnsupportedOperationException- EnterpriseArchive does not support classes
-