Modifier and Type | Interface and Description |
---|---|
interface |
Archive<T extends Archive<T>>
Represents a collection of resources which may be constructed programmatically.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GenericArchive
Simple
Archive extension which closes the generic context as a convenience to users not requiring any spec
archive type. |
Modifier and Type | Method and Description |
---|---|
<T extends Archive<T>> |
ExtensionLoader.getArchiveFormatFromExtensionMapping(Class<T> extensionClass)
Gets the
ArchiveFormat for the given type from the extensionMapping |
<X extends Archive<X>> |
Archive.getAsType(Class<X> type,
ArchivePath path)
Get a nested
Archive as a specific type.The found Archives must have been added as a Archive, no import is performed. |
<X extends Archive<X>> |
Archive.getAsType(Class<X> type,
ArchivePath path,
ArchiveFormat archiveFormat)
|
<X extends Archive<X>> |
Archive.getAsType(Class<X> type,
Filter<ArchivePath> filter)
Get all nested
Archive 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>> |
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 . |
<X extends Archive<X>> |
Archive.getAsType(Class<X> type,
String path)
Get a nested
Archive as a specific type.The found Archives must have been added as a Archive, no import is performed. |
<X extends Archive<X>> |
Archive.getAsType(Class<X> type,
String path,
ArchiveFormat archiveFormat)
Get a nested
Archive as a specific type using the specify ArchiveFormat |
Modifier and Type | Method and Description |
---|---|
Archive<T> |
Archive.shallowCopy()
Creates a shallow copy of this
Archive . |
Modifier and Type | Method and Description |
---|---|
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.
|
<T extends Assignable> |
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.
|
Modifier and Type | Method and Description |
---|---|
Archive<?> |
ArchiveAsset.getArchive()
Returns the archive this asset represents
|
Constructor and Description |
---|
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() . |
Constructor and Description |
---|
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. |
Modifier and Type | Interface and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
T |
LibraryContainer.addAsLibraries(Archive<?>... archives)
|
T |
LibraryContainer.addAsLibraries(Archive<?>[]... archives)
|
T |
LibraryContainer.addAsLibrary(Archive<?> archive)
|
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. |
Modifier and Type | Method and Description |
---|---|
T |
LibraryContainer.addAsLibraries(Collection<? extends Archive<?>> archives)
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Interface and Description |
---|---|
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.
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.