ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.api
Interface Assignable

All Known Subinterfaces:
Archive<T>, Configurable, EnterpriseArchive, ExplodedExporter, ExplodedImporter, GenericArchive, JavaArchive, MemoryMapArchive, ResourceAdapterArchive, SerializableView, StreamExporter, StreamImporter<I>, TarExporter, TarGzExporter, TarGzImporter, TarImporter, WebArchive, ZipExporter, ZipImporter, ZipSerializableView
All Known Implementing Classes:
AbstractStreamExporterImpl, ArchiveBase, AssignableBase, ConfigurableArchiveImpl, ContainerBase, EnterpriseArchiveImpl, EnterpriseContainerBase, ExplodedExporterImpl, ExplodedImporterImpl, GenericArchiveImpl, JavaArchiveImpl, MemoryMapArchiveBase, MemoryMapArchiveImpl, ResourceAdapterArchiveImpl, ResourceAdapterContainerBase, TarExporterImpl, TarGzExporterImpl, TarGzImporterImpl, 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: $
Author:
Aslak Knutsen

Method Summary
<TYPE extends Assignable>
TYPE
as(Class<TYPE> clazz)
          Wraps an Archive in a different 'view'.
 

Method Detail

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:
org.jboss.shrinkwrap.impl.base.ExtensionLoader

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.