Interface Assignable

All Known Subinterfaces:
Archive<T>, Configurable, EnterpriseArchive, ExplodedExporter, ExplodedImporter, GenericArchive, Identifiable, JavaArchive, MemoryMapArchive, ResourceAdapterArchive, SerializableView, StreamExporter, StreamImporter<I>, TarBz2Exporter, TarBz2Importer, TarExporter, TarGzExporter, TarGzImporter, TarImporter, WebArchive, ZipExporter, ZipImporter, ZipSerializableView
All Known Implementing Classes:
AbstractStreamExporterImpl, ArchiveBase, AssignableBase, ConfigurableArchiveImpl, ContainerBase, EnterpriseArchiveImpl, EnterpriseContainerBase, ExplodedExporterImpl, ExplodedImporterImpl, GenericArchiveImpl, IdentifiableArchiveImpl, JavaArchiveImpl, MemoryMapArchiveBase, MemoryMapArchiveImpl, ResourceAdapterArchiveImpl, ResourceAdapterContainerBase, TarBz2ExporterImpl, TarBz2ImporterImpl, TarExporterImpl, TarGzExporterImpl, TarGzImporterImpl, TarImporterBase, TarImporterImpl, WebArchiveImpl, WebContainerBase, ZipExporterImpl, ZipImporterImpl, ZipSerializableViewImpl

public interface Assignable
General interface for representing entities such as Archives, importers and exporters as different extension types. The Assignable type is typically the end-user view. In effect all Assignable types achieve some limited form of multiple inheritance via a wrapping mechanism.
Version:
$Revision: $
  • Method Summary

    Modifier and Type
    Method
    Description
    <TYPE extends Assignable>
    TYPE
    as(Class<TYPE> clazz)
    Wraps an Archive in a different 'view'.
  • Method Details

    • as

      <TYPE extends Assignable> TYPE as(Class<TYPE> clazz)
      Wraps an Archive in a different 'view'.
      Type Parameters:
      TYPE -
      Parameters:
      clazz - Extension interface to load
      Returns:
      The Archive wrapped as TYPE
      See Also:
      • invalid reference
        org.jboss.shrinkwrap.impl.base.ExtensionLoader