|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Archive in org.jboss.shrinkwrap.api |
---|
Classes in org.jboss.shrinkwrap.api with type parameters of type Archive | |
---|---|
interface |
Archive<T extends Archive<T>>
Represents a collection of resources which may be constructed programmatically. |
Subinterfaces of Archive in org.jboss.shrinkwrap.api | |
---|---|
interface |
GenericArchive
Simple Archive 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 Archive | ||
---|---|---|
|
ExtensionLoader.getArchiveFormatFromExtensionMapping(Class<T> extensionClass)
Gets the ArchiveFormat for the given type from the extensionMapping |
|
|
Archive.getAsType(Class<X> type,
ArchivePath path)
Get a nested Archive as a specific type. |
|
|
Archive.getAsType(Class<X> type,
ArchivePath path,
ArchiveFormat archiveFormat)
Get a nested Archive located in a ArchivePath as a specific type using the specify
ArchiveFormat |
|
|
Archive.getAsType(Class<X> type,
Filter<ArchivePath> filter)
Get all nested Archive matching the filter as a specific type. |
|
|
Archive.getAsType(Class<X> type,
Filter<ArchivePath> filter,
ArchiveFormat archiveFormat)
Get all nested Archive matching the filter as a specific type using the specify ArchiveFormat . |
|
|
Archive.getAsType(Class<X> type,
String path)
Get a nested Archive as a specific type. |
|
|
Archive.getAsType(Class<X> type,
String path,
ArchiveFormat archiveFormat)
Get a nested Archive as a specific type using the specify ArchiveFormat |
Methods in org.jboss.shrinkwrap.api with parameters of type Archive | ||
---|---|---|
T |
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 |
Archive.add(Archive<?> archive,
String path,
Class<? extends StreamExporter> exporter)
Add an archive under a specific context and maintain the archive name as context path. |
|
|
ExtensionLoader.load(Class<T> extensionClass,
Archive<?> baseArchive)
Load a Extension. |
|
T |
Archive.merge(Archive<?> source)
Merge the contents from an existing archive without maintaining the archive name in the context path. |
|
T |
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. |
|
T |
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. |
|
T |
Archive.merge(Archive<?> source,
Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path. |
|
T |
Archive.merge(Archive<?> source,
String path)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path. |
|
T |
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. |
Uses of Archive in org.jboss.shrinkwrap.api.asset |
---|
Methods in org.jboss.shrinkwrap.api.asset that return Archive | |
---|---|
Archive<?> |
ArchiveAsset.getArchive()
Returns the archive this asset represents |
Constructors in org.jboss.shrinkwrap.api.asset with parameters of type Archive | |
---|---|
ArchiveAsset(Archive<?> archive,
Class<? extends StreamExporter> exporter)
Creates a new instance wrapping the specified Archive , which will use the specified
StreamExporter to represent the archive as an InputStream in Asset.openStream() . |
Uses of Archive in org.jboss.shrinkwrap.api.classloader |
---|
Constructors in org.jboss.shrinkwrap.api.classloader with parameters of type Archive | |
---|---|
ShrinkWrapClassLoader(Archive<?>... archives)
Constructs a new ShrinkWrapClassLoader for the specified Archive s using the default delegation parent
ClassLoader . |
|
ShrinkWrapClassLoader(ClassLoader parent,
Archive<?>... archives)
Constructs a new ShrinkWrapClassLoader for the given Archive s. |
Uses of Archive in org.jboss.shrinkwrap.api.container |
---|
Classes in org.jboss.shrinkwrap.api.container with type parameters of type Archive | |
---|---|
interface |
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 of ClassLoader , File , and
URL -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 Archive | |
---|---|
T |
LibraryContainer.addAsLibraries(Archive<?>... archives)
Add multiple Archive s to this Archive as libraries to the container, returning the container
itself. |
T |
LibraryContainer.addAsLibraries(Archive<?>[]... archives)
Add multiple Archive s to this Archive as libraries to the container, returning the container
itself. |
T |
LibraryContainer.addAsLibrary(Archive<?> archive)
Add another Archive to this Archive as a library to the container, returning the container
itself. |
T |
EnterpriseContainer.addAsModule(Archive<?> archive)
Adds a archive to this Archive s module context. |
T |
EnterpriseContainer.addAsModules(Archive<?>... archives)
Adds the specified archives to this Archive s module context. |
Method parameters in org.jboss.shrinkwrap.api.container with type arguments of type Archive | |
---|---|
T |
LibraryContainer.addAsLibraries(Collection<? extends Archive<?>> archives)
Add multiple Archive s to this Archive as libraries to the container, returning the container
itself. |
Uses of Archive in org.jboss.shrinkwrap.api.formatter |
---|
Methods in org.jboss.shrinkwrap.api.formatter with parameters of type Archive | |
---|---|
String |
Formatter.format(Archive<?> archive)
Returns a formatted view of the specified archive |
String |
Formatters.format(Archive<?> archive)
Returns a formatted view of the specified archive |
Uses of Archive in org.jboss.shrinkwrap.api.spec |
---|
Subinterfaces of Archive in org.jboss.shrinkwrap.api.spec | |
---|---|
interface |
EnterpriseArchive
Traditional EAR (Java Enterprise Archive) structure. |
interface |
JavaArchive
Traditional JAR (Java Archive) structure. |
interface |
ResourceAdapterArchive
Traditional RAR (Resource Adapter Archive) structure. |
interface |
WebArchive
Traditional WAR (Java Web Archive) structure. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |