| Constructor and Description |
|---|
ForwardingContext() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Context |
delegate() |
boolean |
equals(java.lang.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. |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Get the scope type of the context object.
|
int |
hashCode() |
boolean |
isActive()
Determines if the context object is active.
|
java.lang.String |
toString() |
static Context |
unwrap(Context context) |
protected abstract Context delegate()
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
Contextpublic <T> T get(Contextual<T> contextual, CreationalContext<T> creationalContext)
ContextContextual.create(CreationalContext) and return the new instance.public <T> T get(Contextual<T> contextual)
Contextpublic boolean isActive()
Contextpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014. All Rights Reserved.