Uses of Interface
org.jboss.shrinkwrap.api.Archive
Packages that use Archive
Package
Description
-
Uses of Archive in org.jboss.shrinkwrap.api
Classes in org.jboss.shrinkwrap.api with type parameters of type ArchiveModifier and TypeInterfaceDescriptioninterface
Represents a collection of resources which may be constructed programmatically.Subinterfaces of Archive in org.jboss.shrinkwrap.apiModifier and TypeInterfaceDescriptioninterface
SimpleArchive
extension which closes the generic context as a convenience to users not requiring any spec archive type.Methods in org.jboss.shrinkwrap.api with type parameters of type ArchiveModifier and TypeMethodDescription<T extends Archive<T>>
ArchiveFormatExtensionLoader.getArchiveFormatFromExtensionMapping
(Class<T> extensionClass) Gets theArchiveFormat
for the given type from the extensionMapping<X extends Archive<X>>
XGet a nestedArchive
as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XArchive.getAsType
(Class<X> type, String path, ArchiveFormat archiveFormat) Get a nestedArchive
as a specific type using the specifyArchiveFormat
<X extends Archive<X>>
XArchive.getAsType
(Class<X> type, ArchivePath path) Get a nestedArchive
as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XArchive.getAsType
(Class<X> type, ArchivePath path, ArchiveFormat archiveFormat) <X extends Archive<X>>
Collection<X> Archive.getAsType
(Class<X> type, Filter<ArchivePath> filter) Get all nestedArchive
matching the filter as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
Collection<X> Archive.getAsType
(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat) Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.Methods in org.jboss.shrinkwrap.api that return ArchiveModifier and TypeMethodDescriptionArchive.shallowCopy()
Creates a shallow copy of thisArchive
.Archive.shallowCopy
(Filter<ArchivePath> filter) Creates a shallow copy of thisArchive
based on given filter.Assets from this archive are made available under the same paths.Methods in org.jboss.shrinkwrap.api with parameters of type ArchiveModifier and TypeMethodDescriptionArchive.add
(Archive<?> archive, String path, Class<? extends StreamExporter> exporter) Add an archive under a specific context and maintain the archive name as context path.Archive.add
(Archive<?> archive, ArchivePath path, Class<? extends StreamExporter> exporter) Add an archive under a specific context and maintain the archive name as context path.<T extends Assignable>
TLoad a Extension.Merge the contents from an existing archive without maintaining the archive name in the context path.Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.Archive.merge
(Archive<?> source, String path, Filter<ArchivePath> filter) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.Archive.merge
(Archive<?> source, ArchivePath path) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.Archive.merge
(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.Archive.merge
(Archive<?> source, Filter<ArchivePath> filter) Merge the contents from an existing archive without maintaining the archive name in the context path. -
Uses of Archive in org.jboss.shrinkwrap.api.asset
Fields in org.jboss.shrinkwrap.api.asset declared as ArchiveModifier and TypeFieldDescriptionprivate final Archive
<?> ArchiveAsset.archive
The archive this asset representsMethods in org.jboss.shrinkwrap.api.asset that return ArchiveModifier and TypeMethodDescriptionArchive
<?> ArchiveAsset.getArchive()
Returns the archive this asset representsConstructors in org.jboss.shrinkwrap.api.asset with parameters of type ArchiveModifierConstructorDescriptionArchiveAsset
(Archive<?> archive, Class<? extends StreamExporter> exporter) Creates a new instance wrapping the specifiedArchive
, which will use the specifiedStreamExporter
to represent the archive as anInputStream
inAsset.openStream()
. -
Uses of Archive in org.jboss.shrinkwrap.api.classloader
Methods in org.jboss.shrinkwrap.api.classloader with parameters of type ArchiveModifier and TypeMethodDescriptionprivate void
ShrinkWrapClassLoader.addArchive
(Archive<?> archive) private void
ShrinkWrapClassLoader.addArchives
(Archive<?>[] archives) Constructors in org.jboss.shrinkwrap.api.classloader with parameters of type ArchiveModifierConstructorDescriptionShrinkWrapClassLoader
(ClassLoader parent, Archive<?>... archives) Constructs a new ShrinkWrapClassLoader for the givenArchive
s.ShrinkWrapClassLoader
(Archive<?>... archives) Constructs a new ShrinkWrapClassLoader for the specifiedArchive
s using the default delegation parentClassLoader
. -
Uses of Archive in org.jboss.shrinkwrap.api.container
Classes in org.jboss.shrinkwrap.api.container with type parameters of type ArchiveModifier and TypeInterfaceDescriptioninterface
ClassContainer<T extends Archive<T>>
Defines the contract for a component capable of storing Java Classes.interface
EnterpriseContainer<T extends Archive<T>>
Defines the contract for a component capable of storing Enterprise related resources.interface
LibraryContainer<T extends Archive<T>>
Defines the contract for a component capable of storing Libraries.interface
ManifestContainer<T extends Archive<T>>
Defines the contract for a component capable of storing Manifest related resources.interface
ResourceAdapterContainer<T extends Archive<T>>
Defines the contract for a component capable of storing Resource adapter resources.interface
ResourceContainer<T extends Archive<T>>
Defines the contract for a component capable of storing a series ofClassLoader
,File
, andURL
-based Assets as resources within an archive.interface
ServiceProviderContainer<T extends Archive<T>>
Defines the contract for a component capable of storing service provider related resources.interface
WebContainer<T extends Archive<T>>
Defines the contract for a component capable of storing web-related resources.Methods in org.jboss.shrinkwrap.api.container with parameters of type ArchiveModifier and TypeMethodDescriptionLibraryContainer.addAsLibraries
(Archive<?>... archives) LibraryContainer.addAsLibraries
(Archive<?>[]... archives) LibraryContainer.addAsLibrary
(Archive<?> archive) EnterpriseContainer.addAsModule
(Archive<?> archive) Adds a archive to thisArchive
s module context.EnterpriseContainer.addAsModules
(Archive<?>... archives) Adds the specified archives to thisArchive
s module context.Method parameters in org.jboss.shrinkwrap.api.container with type arguments of type ArchiveModifier and TypeMethodDescriptionLibraryContainer.addAsLibraries
(Collection<? extends Archive<?>> archives) -
Uses of Archive in org.jboss.shrinkwrap.api.formatter
Methods in org.jboss.shrinkwrap.api.formatter with parameters of type ArchiveModifier and TypeMethodDescriptionReturns a formatted view of the specified archiveReturns a formatted view of the specified archiveprivate int
SimpleFormatter.getNumAssets
(Archive<?> archive) Returns the number of assets on anArchive
. -
Uses of Archive in org.jboss.shrinkwrap.api.nio.file
Methods in org.jboss.shrinkwrap.api.nio.file with parameters of type ArchiveModifier and TypeMethodDescriptionstatic URI
ShrinkWrapFileSystems.getRootUri
(Archive<?> archive) Constructs a newURI
with the form:shrinkwrap://{archive.getId()}/
static FileSystem
ShrinkWrapFileSystems.newFileSystem
(Archive<?> archive) Creates a new file system for the givenArchive
; in effect invoking this method is equal to invokingFileSystems.newFileSystem(URI, Map)
, passing the value ofShrinkWrapFileSystems.getRootUri(Archive)
as theURI
and the specified archive as a value in aMap
under the keyShrinkWrapFileSystems.FS_ENV_KEY_ARCHIVE
-
Uses of Archive in org.jboss.shrinkwrap.api.spec
Subinterfaces of Archive in org.jboss.shrinkwrap.api.specModifier and TypeInterfaceDescriptioninterface
Traditional EAR (Java Enterprise Archive) structure.interface
Traditional JAR (Java Archive) structure.interface
Traditional RAR (Resource Adapter Archive) structure.interface
Traditional WAR (Java Web Archive) structure. -
Uses of Archive in org.jboss.shrinkwrap.impl.base
Classes in org.jboss.shrinkwrap.impl.base with type parameters of type ArchiveModifier and TypeClassDescriptionclass
ArchiveBase<T extends Archive<T>>
Base implementation ofArchive
.class
AssignableBase<T extends Archive<?>>
A generic implementation ofAssignable
that delegates down to the Archive extensions inner archive.class
MemoryMapArchiveBase<T extends Archive<T>>
MemoryMapArchiveBase A base implementation for all MemoryMap archives.Classes in org.jboss.shrinkwrap.impl.base that implement ArchiveModifier and TypeClassDescriptionclass
ArchiveBase<T extends Archive<T>>
Base implementation ofArchive
.class
Implementation of aGenericArchive
class
MemoryMapArchiveBase<T extends Archive<T>>
MemoryMapArchiveBase A base implementation for all MemoryMap archives.class
MemoryMapArchiveImpl A default implementation for all MemoryMap archives.Fields in org.jboss.shrinkwrap.impl.base declared as ArchiveMethods in org.jboss.shrinkwrap.impl.base with type parameters of type ArchiveModifier and TypeMethodDescription<T extends Archive<T>>
ArchiveFormatServiceExtensionLoader.getArchiveFormatFromExtensionMapping
(Class<T> type) Gets theArchiveFormat
for the given type from the extensionMapping<X extends Archive<X>>
XGet a nestedArchive
as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XArchiveBase.getAsType
(Class<X> type, String path, ArchiveFormat archiveFormat) Get a nestedArchive
as a specific type using the specifyArchiveFormat
<X extends Archive<X>>
XArchiveBase.getAsType
(Class<X> type, ArchivePath path) Get a nestedArchive
as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XArchiveBase.getAsType
(Class<X> type, ArchivePath path, ArchiveFormat archiveFormat) <X extends Archive<X>>
Collection<X> ArchiveBase.getAsType
(Class<X> type, Filter<ArchivePath> filter) Get all nestedArchive
matching the filter as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
Collection<X> ArchiveBase.getAsType
(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat) Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.Methods in org.jboss.shrinkwrap.impl.base that return ArchiveModifier and TypeMethodDescriptionArchiveBase.shallowCopy()
Creates a shallow copy of thisArchive
.ArchiveBase.shallowCopy
(Filter<ArchivePath> filter) Creates a shallow copy of thisArchive
based on given filter.Assets from this archive are made available under the same paths.Methods in org.jboss.shrinkwrap.impl.base with parameters of type ArchiveModifier and TypeMethodDescriptionArchiveBase.add
(Archive<?> archive, ArchivePath path, Class<? extends StreamExporter> exporter) Add an archive under a specific context and maintain the archive name as context path.MemoryMapArchiveBase.add
(Archive<?> archive, String path, Class<? extends StreamExporter> exporter) Add an archive under a specific context and maintain the archive name as context path.MemoryMapArchiveBase.add
(Archive<?> archive, ArchivePath path, Class<? extends StreamExporter> exporter) Add an archive under a specific context and maintain the archive name as context path.private <T extends Assignable>
TServiceExtensionLoader.createExtension
(Class<T> extensionImplClass, Archive<?> archive) Creates an instance ofextensionImplClass
usingarchive
as the parameter for its one-argument list constructor.private <T extends Assignable>
TServiceExtensionLoader.createFromCache
(Class<T> extensionClass, Archive<?> archive) private <T extends Assignable>
TServiceExtensionLoader.createFromLoadExtension
(Class<T> extensionClass, Archive<?> archive) Creates a new instance of aextensionClass
implementation.<T extends Assignable>
TLoad a Extension.Merge the contents from an existing archive without maintaining the archive name in the context path.Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.ArchiveBase.merge
(Archive<?> source, String path, Filter<ArchivePath> filter) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.ArchiveBase.merge
(Archive<?> source, ArchivePath path) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.ArchiveBase.merge
(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.ArchiveBase.merge
(Archive<?> source, Filter<ArchivePath> filter) Merge the contents from an existing archive without maintaining the archive name in the context path.Constructors in org.jboss.shrinkwrap.impl.base with parameters of type Archive -
Uses of Archive in org.jboss.shrinkwrap.impl.base.container
Classes in org.jboss.shrinkwrap.impl.base.container with type parameters of type ArchiveModifier and TypeClassDescriptionclass
ContainerBase<T extends Archive<T>>
ContainerBase Abstract class that helps implement the Archive, ManifestContainer, ResourceContainer, ClassContainer and LibraryContainer.class
EnterpriseContainerBase<T extends Archive<T>>
EnterpriseContainerSupport Abstract class that helps implement the EnterpriseContainer.class
ResourceAdapterContainerBase<T extends Archive<T>>
ResourceAdapterContainerBase Abstract class that helps implement the ResourceAdapter.class
WebContainerBase<T extends Archive<T>>
WebContainerBase Abstract class that helps implement the WebContainer.Classes in org.jboss.shrinkwrap.impl.base.container that implement ArchiveModifier and TypeClassDescriptionclass
ContainerBase<T extends Archive<T>>
ContainerBase Abstract class that helps implement the Archive, ManifestContainer, ResourceContainer, ClassContainer and LibraryContainer.class
EnterpriseContainerBase<T extends Archive<T>>
EnterpriseContainerSupport Abstract class that helps implement the EnterpriseContainer.class
ResourceAdapterContainerBase<T extends Archive<T>>
ResourceAdapterContainerBase Abstract class that helps implement the ResourceAdapter.class
WebContainerBase<T extends Archive<T>>
WebContainerBase Abstract class that helps implement the WebContainer.Methods in org.jboss.shrinkwrap.impl.base.container with type parameters of type ArchiveModifier and TypeMethodDescription<X extends Archive<X>>
XGet a nestedArchive
as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XContainerBase.getAsType
(Class<X> type, String path, ArchiveFormat archiveCompression) Get a nestedArchive
as a specific type using the specifyArchiveFormat
<X extends Archive<X>>
XContainerBase.getAsType
(Class<X> type, ArchivePath path) Get a nestedArchive
as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XContainerBase.getAsType
(Class<X> type, ArchivePath path, ArchiveFormat archiveCompression) <X extends Archive<X>>
Collection<X> ContainerBase.getAsType
(Class<X> type, Filter<ArchivePath> filter) Get all nestedArchive
matching the filter as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
Collection<X> ContainerBase.getAsType
(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveCompression) Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.Methods in org.jboss.shrinkwrap.impl.base.container that return ArchiveModifier and TypeMethodDescriptionContainerBase.shallowCopy()
Creates a shallow copy of thisArchive
.ContainerBase.shallowCopy
(Filter<ArchivePath> filter) Creates a shallow copy of thisArchive
based on given filter.Assets from this archive are made available under the same paths.Methods in org.jboss.shrinkwrap.impl.base.container with parameters of type ArchiveModifier and TypeMethodDescriptionContainerBase.add
(Archive<?> archive, String path, Class<? extends StreamExporter> exporter) Add an archive under a specific context and maintain the archive name as context path.ContainerBase.add
(Archive<?> archive, ArchivePath path, Class<? extends StreamExporter> exporter) Add an archive under a specific context and maintain the archive name as context path.ContainerBase.addAsLibraries
(Archive<?>... archives) ContainerBase.addAsLibraries
(Archive<?>[]... archives) ContainerBase.addAsLibrary
(Archive<?> archive) EnterpriseContainerBase.addAsModule
(Archive<?> archive) Adds a archive to thisArchive
s module context.EnterpriseContainerBase.addAsModules
(Archive<?>... archives) Adds the specified archives to thisArchive
s module context.Merge the contents from an existing archive without maintaining the archive name in the context path.Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.ContainerBase.merge
(Archive<?> source, String path, Filter<ArchivePath> filter) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.ContainerBase.merge
(Archive<?> source, ArchivePath path) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.ContainerBase.merge
(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.ContainerBase.merge
(Archive<?> source, Filter<ArchivePath> filter) Merge the contents from an existing archive without maintaining the archive name in the context path.Method parameters in org.jboss.shrinkwrap.impl.base.container with type arguments of type ArchiveModifier and TypeMethodDescriptionContainerBase.addAsLibraries
(Collection<? extends Archive<?>> archives) Constructors in org.jboss.shrinkwrap.impl.base.container with parameters of type ArchiveModifierConstructorDescriptionprotected
ContainerBase
(Class<T> actualType, Archive<?> archive) protected
EnterpriseContainerBase
(Class<T> actualType, Archive<?> archive) protected
ResourceAdapterContainerBase
(Class<T> actualType, Archive<?> archive) protected
WebContainerBase
(Class<T> actualType, Archive<?> archive) -
Uses of Archive in org.jboss.shrinkwrap.impl.base.exporter
Fields in org.jboss.shrinkwrap.impl.base.exporter declared as ArchiveModifier and TypeFieldDescriptionprivate final Archive
<?> AbstractExporterDelegate.archive
The archive being exportedMethods in org.jboss.shrinkwrap.impl.base.exporter that return ArchiveModifier and TypeMethodDescriptionprotected Archive
<?> AbstractExporterDelegate.getArchive()
Return the archive being exportedMethods in org.jboss.shrinkwrap.impl.base.exporter with parameters of type ArchiveConstructors in org.jboss.shrinkwrap.impl.base.exporter with parameters of type ArchiveModifierConstructorDescriptionprotected
AbstractExporterDelegate
(Archive<?> archive) Creates a new abstract exporter delegate for the providedArchive
AbstractOnDemandInputStream
(Archive<?> archive) Creates stream directly from archive.AbstractStreamExporterImpl
(Archive<?> archive) ExplodedExporterDelegate
(Archive<?> archive, File outputDirectory) Creates a new exploded exporter delegate for the providedArchive
ExplodedExporterImpl
(Archive<?> archive) -
Uses of Archive in org.jboss.shrinkwrap.impl.base.exporter.tar
Constructors in org.jboss.shrinkwrap.impl.base.exporter.tar with parameters of type ArchiveModifierConstructorDescription(package private)
TarBz2ExporterDelegate
(Archive<?> archive) TarBz2ExporterImpl
(Archive<?> archive) Creates a new exporter for the specified archive(package private)
TarBz2OnDemandInputStream
(Archive<?> archive) Creates stream directly from archive.(package private)
TarExporterDelegate
(Archive<?> archive) Creates a new exporter delegate for exporting archives as TARTarExporterImpl
(Archive<?> archive) Creates a new exporter for the specified archive(package private)
TarGzExporterDelegate
(Archive<?> archive) TarGzExporterImpl
(Archive<?> archive) Creates a new exporter for the specified archive(package private)
TarGzOnDemandInputStream
(Archive<?> archive) Creates stream directly from archive.(package private)
TarOnDemandInputStream
(Archive<?> archive) Creates stream directly from archive.(package private)
TarOnDemandInputStreamBase
(Archive<?> archive) Creates stream directly from archive. -
Uses of Archive in org.jboss.shrinkwrap.impl.base.exporter.zip
Constructors in org.jboss.shrinkwrap.impl.base.exporter.zip with parameters of type ArchiveModifierConstructorDescriptionprotected
ZipExporterDelegate
(Archive<?> archive) ZipExporterImpl
(Archive<?> archive) (package private)
ZipOnDemandInputStream
(Archive<?> archive) Creates stream directly from archive. -
Uses of Archive in org.jboss.shrinkwrap.impl.base.importer
Constructors in org.jboss.shrinkwrap.impl.base.importer with parameters of type Archive -
Uses of Archive in org.jboss.shrinkwrap.impl.base.importer.tar
Constructors in org.jboss.shrinkwrap.impl.base.importer.tar with parameters of type ArchiveModifierConstructorDescriptionTarBz2ImporterImpl
(Archive<?> archive) TarGzImporterImpl
(Archive<?> archive) TarImporterBase
(Archive<?> archive) TarImporterImpl
(Archive<?> archive) -
Uses of Archive in org.jboss.shrinkwrap.impl.base.importer.zip
Constructors in org.jboss.shrinkwrap.impl.base.importer.zip with parameters of type Archive -
Uses of Archive in org.jboss.shrinkwrap.impl.base.serialization
Fields in org.jboss.shrinkwrap.impl.base.serialization declared as ArchiveModifier and TypeFieldDescriptionprivate Archive
<?> ZipSerializableViewImpl.archive
Underlying archive.Constructors in org.jboss.shrinkwrap.impl.base.serialization with parameters of type ArchiveModifierConstructorDescriptionZipSerializableViewImpl
(Archive<?> archive) Creates a new instance, wrapping the specifiedArchive
-
Uses of Archive in org.jboss.shrinkwrap.impl.base.spec
Classes in org.jboss.shrinkwrap.impl.base.spec that implement ArchiveModifier and TypeClassDescriptionclass
EnterpriseArchiveImplclass
Implementation of an archive with JAR-specific support.class
ResourceAdapterArchiveImplclass
WebArchiveImplConstructors in org.jboss.shrinkwrap.impl.base.spec with parameters of type ArchiveModifierConstructorDescriptionEnterpriseArchiveImpl
(Archive<?> delegate) Create a new EnterpriseArchive with any type storage engine as backing.JavaArchiveImpl
(Archive<?> delegate) Create a new JavaArchive with any type storage engine as backing.ResourceAdapterArchiveImpl
(Archive<?> delegate) Create a new ResourceAdapterArchive with any type storage engine as backing.WebArchiveImpl
(Archive<?> delegate) Create a new WebArchive with any type storage engine as backing. -
Uses of Archive in org.jboss.shrinkwrap.impl.nio.file
Fields in org.jboss.shrinkwrap.impl.nio.file declared as ArchiveModifier and TypeFieldDescriptionprivate final Archive
<?> ShrinkWrapFileAttributes.archive
private final Archive
<?> ShrinkWrapFileStore.archive
Underlying archiveprivate final Archive
<?> ShrinkWrapFileSystem.archive
UnderlyingArchive
Methods in org.jboss.shrinkwrap.impl.nio.file that return ArchiveModifier and TypeMethodDescriptionprivate Archive
<?> ShrinkWrapFileAttributes.getArchive()
(package private) Archive
<?> ShrinkWrapFileSystem.getArchive()
Obtains the underlying archiveprivate Archive
<?> ShrinkWrapFileSystemProvider.getArchive
(Path path) Obtains the underlying archive associated with the specified PathConstructors in org.jboss.shrinkwrap.impl.nio.file with parameters of type ArchiveModifierConstructorDescription(package private)
ShrinkWrapFileAttributes
(ShrinkWrapPath path, Archive<?> archive) ShrinkWrapFileStore
(Archive<?> archive) ShrinkWrapFileSystem
(ShrinkWrapFileSystemProvider provider, Archive<?> archive) -
Uses of Archive in org.jboss.shrinkwrap.spi
Subinterfaces of Archive in org.jboss.shrinkwrap.spiModifier and TypeInterfaceDescriptioninterface
MemoryMapArchive A pure in memory Archive backed by a Map.