|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InjectableProviderContext
The context to obtain Injectable instances.
| Nested Class Summary | |
|---|---|
static class |
InjectableProviderContext.InjectableScopePair
|
| Method Summary | ||
|---|---|---|
|
getInjectable(java.lang.Class<? extends java.lang.annotation.Annotation> ac,
ComponentContext ic,
A a,
C c,
ComponentScope s)
Get an injectable. |
|
|
getInjectable(java.lang.Class<? extends java.lang.annotation.Annotation> ac,
ComponentContext ic,
A a,
C c,
java.util.List<ComponentScope> ls)
Get an injectable. |
|
|
getInjectableWithScope(java.lang.Class<? extends java.lang.annotation.Annotation> ac,
ComponentContext ic,
A a,
C c,
java.util.List<ComponentScope> ls)
Get an injectable. |
|
boolean |
isInjectableProviderRegistered(java.lang.Class<? extends java.lang.annotation.Annotation> ac,
java.lang.Class<?> cc,
ComponentScope s)
Check if one or more injectable provider is registered to process an anotation and a context type for a given scope. |
|
| Method Detail |
|---|
boolean isInjectableProviderRegistered(java.lang.Class<? extends java.lang.annotation.Annotation> ac,
java.lang.Class<?> cc,
ComponentScope s)
ac - the annotation class.cc - the context type.s - the scope.
<A extends java.lang.annotation.Annotation,C> Injectable getInjectable(java.lang.Class<? extends java.lang.annotation.Annotation> ac,
ComponentContext ic,
A a,
C c,
ComponentScope s)
A - the type of the annotation.C - the the context type. Types of the Type and
com.sun.jersey.api.model.Parameter are the only types that
are supported.ac - the annotation class.ic - the injectable context.a - the annotation instance.c - the context type.s - the scope.
<A extends java.lang.annotation.Annotation,C> Injectable getInjectable(java.lang.Class<? extends java.lang.annotation.Annotation> ac,
ComponentContext ic,
A a,
C c,
java.util.List<ComponentScope> ls)
A - the type of the annotation.C - the the context type. Types of the Type and
com.sun.jersey.api.model.Parameter are the only types that
are supported.ac - the annotation class.ic - the injectable context.a - the annotation instance.c - the context type.ls - the list of scope, ordered by preference.
<A extends java.lang.annotation.Annotation,C> InjectableProviderContext.InjectableScopePair getInjectableWithScope(java.lang.Class<? extends java.lang.annotation.Annotation> ac,
ComponentContext ic,
A a,
C c,
java.util.List<ComponentScope> ls)
A - the type of the annotation.C - the the context type. Types of the Type and
com.sun.jersey.api.model.Parameter are the only types that
are supported.ac - the annotation class.ic - the injectable context.a - the annotation instance.c - the context type.ls - the list of scope, ordered by preference.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||