public abstract class AssignableBase<T extends Archive<?>> extends Object implements Assignable
Assignable
that delegates down to the Archive extensions inner archive. Used by
Archive extensions to simplify handling the generic extension mechanism.Modifier | Constructor and Description |
---|---|
protected |
AssignableBase(T archive)
Constructs a new instance using the underlying specified archive, which is required
|
Modifier and Type | Method and Description |
---|---|
<TYPE extends Assignable> |
as(Class<TYPE> clazz) |
protected T |
getArchive()
Returns the underlying archive
|
protected AssignableBase(T archive)
archive
- public final <TYPE extends Assignable> TYPE as(Class<TYPE> clazz)
as
in interface Assignable
Specializer
protected final T getArchive()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.