Constructor and Description |
---|
ForwardingContext() |
Modifier and Type | Method and Description |
---|---|
protected abstract Context |
delegate() |
boolean |
equals(Object obj) |
<T> T |
get(Contextual<T> contextual)
Return an existing instance of a certain contextual type or a null value.
|
<T> T |
get(Contextual<T> contextual,
CreationalContext<T> creationalContext)
Return an existing instance of certain contextual type or create a new instance by calling
Contextual.create(CreationalContext) and return the new instance. |
Class<? extends Annotation> |
getScope()
Get the scope type of the context object.
|
int |
hashCode() |
boolean |
isActive()
Determines if the context object is active.
|
String |
toString() |
static Context |
unwrap(Context context) |
protected abstract Context delegate()
public Class<? extends Annotation> getScope()
Context
public <T> T get(Contextual<T> contextual, CreationalContext<T> creationalContext)
Context
Contextual.create(CreationalContext)
and return the new instance.public <T> T get(Contextual<T> contextual)
Context
public boolean isActive()
Context
Copyright © 2013 Seam Framework. All Rights Reserved.