|
ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.impl.base.AssignableBase<T>
public abstract class AssignableBase<T extends Archive<?>>
A generic implementation of Assignable
that delegates down to the Archive
extensions inner archive. Used by Archive extensions to simplify handling the generic extension
mechanism.
Constructor Summary | |
---|---|
protected |
AssignableBase(T archive)
Constructs a new instance using the underlying specified archive, which is required |
Method Summary | ||
---|---|---|
|
as(Class<TYPE> clazz)
Wraps an Archive in a different 'view'. |
|
protected T |
getArchive()
Returns the underlying archive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AssignableBase(T archive)
archive
- Method Detail |
---|
public final <TYPE extends Assignable> TYPE as(Class<TYPE> clazz)
as
in interface Assignable
clazz
- Extension interface to load
org.jboss.shrinkwrap.api.Specializer#as(java.lang.Class)
protected final T getArchive()
|
ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |