Modifier and Type | Interface and Description |
---|---|
interface |
Archive<T extends Archive<T>>
Represents a collection of resources which may be constructed programmatically.
|
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 Assignable> |
ExtensionLoader.addOverride(java.lang.Class<T> extensionClass,
java.lang.Class<? extends T> extensionImplClass)
Add a Override to the normal Extension loading.
|
<TYPE extends Assignable> |
Assignable.as(java.lang.Class<TYPE> clazz)
Wraps an Archive in a different 'view'.
|
<T extends Assignable> |
ArchiveFactory.create(java.lang.Class<T> type)
Creates a new archive of the specified type.
|
static <T extends Assignable> |
ShrinkWrap.create(java.lang.Class<T> type)
Creates a new archive of the specified type.
|
<T extends Assignable> |
ArchiveFactory.create(java.lang.Class<T> type,
java.lang.String archiveName)
Creates a new archive of the specified type.
|
static <T extends Assignable> |
ShrinkWrap.create(java.lang.Class<T> type,
java.lang.String archiveName)
Creates a new archive of the specified type.
|
<T extends Assignable> |
ArchiveFactory.createFromZipFile(java.lang.Class<T> type,
java.io.File archiveFile)
Creates a new archive of the specified type as imported from the specified
File . |
static <T extends Assignable> |
ShrinkWrap.createFromZipFile(java.lang.Class<T> type,
java.io.File archiveFile)
Creates a new archive of the specified type as imported from the specified
File . |
<T extends Assignable> |
ExtensionLoader.getExtensionFromExtensionMapping(java.lang.Class<T> extensionClass)
Gets the extension for the given type from the extensionMapping
|
<T extends Assignable> |
ExtensionLoader.load(java.lang.Class<T> extensionClass,
Archive<?> baseArchive)
Load a Extension.
|
static <T extends Assignable> |
UnknownExtensionTypeExceptionDelegator.newExceptionInstance(java.lang.Class<T> type) |
(package private) static <T extends Assignable> |
UnknownExtensionTypeException.newInstance(java.lang.Class<T> type)
Creates a new
UnknownExtensionTypeException for the specified type |
Modifier and Type | Interface and Description |
---|---|
interface |
ExplodedExporter
Exporter used to export an Archive as an exploded directory structure.
|
interface |
StreamExporter
Generic exporter capable of representing an
Assignable as an InputStream , or writing its contents to
a provided OutputStream or File . |
interface |
TarBz2Exporter
Exporter used to represent an
Assignable in TAR format encoded w/ BZip2 compression |
interface |
TarExporter
Exporter used to represent an
Assignable in TAR format |
interface |
TarGzExporter
Exporter used to represent an
Assignable in TAR format encoded w/ GZIP compression |
interface |
ZipExporter
Exporter used to represent an
Assignable in ZIP format. |
Modifier and Type | Interface and Description |
---|---|
interface |
ExplodedImporter
Importer used to import Exploded directory structures into a
Archive |
interface |
StreamImporter<I extends StreamImporter<I>>
Generic importer capable of representing an
Assignable as an entity capable of reading from an
InputStream , or file type. |
interface |
TarBz2Importer
Assignable type capable of importing TAR archive content encoded in BZip2 compression. |
interface |
TarGzImporter
Assignable type capable of importing TAR archive content encoded in GZIP compression. |
interface |
TarImporter
Assignable type capable of importing TAR archive content |
interface |
ZipImporter
Assignable type capable of importing ZIP content. |
Modifier and Type | Interface and Description |
---|---|
interface |
SerializableView
Serializable view of an Archive . |
interface |
ZipSerializableView
Serializable view of an Archive where contents are encoded in ZIP format during Serialization. |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ArchiveBase<T extends Archive<T>>
Base implementation of
Archive . |
class |
AssignableBase<T extends Archive<?>>
A generic implementation of
Assignable that delegates down to the Archive extensions inner archive. |
class |
ConfigurableArchiveImpl
Assignable implementation view of an ConfigurableArchive . |
class |
GenericArchiveImpl
Implementation of a
GenericArchive |
class |
IdentifiableArchiveImpl
Assignable implementation view of an Identifiable . |
class |
MemoryMapArchiveBase<T extends Archive<T>>
MemoryMapArchiveBase
A base implementation for all MemoryMap archives.
|
class |
MemoryMapArchiveImpl
MemoryMapArchiveImpl
A default implementation for all MemoryMap archives.
|
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.Class<? extends Assignable> |
ExtensionWrapper.extension |
Modifier and Type | Method and Description |
---|---|
<T extends Assignable> |
ServiceExtensionLoader.addOverride(java.lang.Class<T> extensionClass,
java.lang.Class<? extends T> extensionImplClass)
Add a Override to the normal Extension loading.
|
<TYPE extends Assignable> |
ArchiveBase.as(java.lang.Class<TYPE> clazz)
Wraps an Archive in a different 'view'.
|
<TYPE extends Assignable> |
AssignableBase.as(java.lang.Class<TYPE> clazz)
Wraps an Archive in a different 'view'.
|
private <T extends Assignable> |
ServiceExtensionLoader.createExtension(java.lang.Class<T> extensionImplClass,
Archive<?> archive)
Creates an instance of
extensionImplClass using archive as the parameter for its
one-argument list constructor. |
private <T extends Assignable> |
ServiceExtensionLoader.createFromCache(java.lang.Class<T> extensionClass,
Archive<?> archive) |
private <T extends Assignable> |
ServiceExtensionLoader.createFromLoadExtension(java.lang.Class<T> extensionClass,
Archive<?> archive)
Creates a new instance of a
extensionClass implementation. |
private <T extends Assignable> |
ServiceExtensionLoader.findConstructor(java.lang.Class<T> extensionImplClass)
Finds a constructor with a one-argument list's element which implements
Archive . |
private <T extends Assignable> |
ServiceExtensionLoader.findExtensionImpl(java.lang.Class<T> extensionClass)
Iterates through the classloaders to load the provider-configuration file for
extensionClass in
META-INF/services/ using its binary name. |
<T extends Assignable> |
ServiceExtensionLoader.getExtensionFromExtensionMapping(java.lang.Class<T> type)
Gets the extension for the given type from the extensionMapping
|
(package private) <T extends Assignable> |
ServiceExtensionLoader.getFromCache(java.lang.Class<T> extensionClass) |
<T extends Assignable> |
ServiceExtensionLoader.load(java.lang.Class<T> extensionClass,
Archive<?> baseArchive)
Load a Extension.
|
private <T extends Assignable> |
ServiceExtensionLoader.loadExtension(ExtensionWrapper extensionWrapper)
Loads the implementation class hold in
ExtensionWrapper.implementingClassName |
private <T extends Assignable> |
ServiceExtensionLoader.loadExtensionClass(java.lang.String extensionClassName)
Delegates class loading of
extensionClassName to
ClassLoaderSearchUtilDelegator.findClassFromClassLoaders(String, Iterable) passing the
extensionClassName and the instance's classLoaders . |
private <T extends Assignable> |
ServiceExtensionLoader.loadExtensionMapping(java.lang.Class<T> extensionClass)
Finds the SPI configuration, wraps it into a
ExtensionWrapper and loads it to
ServiceExtensionLoader.extensionMappings . |
private <T extends Assignable> |
ServiceExtensionLoader.loadExtensionWrapper(java.io.InputStream extensionStream,
java.lang.Class<T> extensionClass)
Wraps the provider-configuration file
extensionStream , the SPI extensionClass and its
implementation class name into a ExtensionWrapper instance. |
Constructor and Description |
---|
ExtensionWrapper(java.lang.String implementingClassName,
java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.Class<? extends Assignable> extension) |
Modifier and Type | Class and Description |
---|---|
class |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStreamExporterImpl
Base support for I/O Stream-based exporters
|
class |
ExplodedExporterImpl
ExplodedExporterImpl
Implementation of ExplodedExporter used to export an Archive as an exploded directory structure.
|
Modifier and Type | Class and Description |
---|---|
class |
TarBz2ExporterImpl
Implementation of
TarBz2Exporter used to export an Archive as a TAR format encoded in BZip2. |
class |
TarExporterImpl
Implementation of
TarExporter used to export an Archive as a TAR format. |
class |
TarGzExporterImpl
Implementation of
TarGzExporter used to export an Archive as a TAR format encoded in GZIP. |
Modifier and Type | Class and Description |
---|---|
class |
ZipExporterImpl
Implementation of ZipExporter used to export an Archive as a ZIP format.
|
Modifier and Type | Class and Description |
---|---|
class |
ExplodedImporterImpl
ExplodedImporterImpl
Importer used to import Exploded directory structures into a
Archive |
Modifier and Type | Class and Description |
---|---|
class |
TarBz2ImporterImpl
Used to import existing TAR.BZ2 files/streams into the given
Archive |
class |
TarGzImporterImpl
Used to import existing TAR.GZ files/streams into the given
Archive |
(package private) class |
TarImporterBase<S extends TarInputStream,I extends StreamImporter<I>>
Base of implementations used to import existing TAR files/streams into the given
Archive |
class |
TarImporterImpl
Used to import existing TAR files/streams into the given
Archive |
Modifier and Type | Class and Description |
---|---|
class |
ZipImporterImpl
Used to import existing Zip files/streams into the given
Archive |
Modifier and Type | Class and Description |
---|---|
class |
ZipSerializableViewImpl
Implementation of a
Serializable view of Archive s, backed by ZIP en/decoding the contents during
serialization/deserialization. |
Modifier and Type | Method and Description |
---|---|
<TYPE extends Assignable> |
ZipSerializableViewImpl.as(java.lang.Class<TYPE> clazz)
Wraps an Archive in a different 'view'.
|
Modifier and Type | Class and Description |
---|---|
class |
EnterpriseArchiveImpl
EnterpriseArchiveImpl
|
class |
JavaArchiveImpl
Implementation of an archive with JAR-specific support.
|
class |
ResourceAdapterArchiveImpl
ResourceAdapterArchiveImpl
|
class |
WebArchiveImpl
WebArchiveImpl
|
Modifier and Type | Interface and Description |
---|---|
interface |
Configurable
Assignable view representing an entity backed by Configuration . |
interface |
Identifiable
Assignable view representing an entity with an ID. |
interface |
MemoryMapArchive
MemoryMapArchive
A pure in memory Archive backed by a Map.
|