public interface InjectableProviderContext
Injectable instances.| Modifier and Type | Interface and Description |
|---|---|
static class |
InjectableProviderContext.InjectableScopePair |
| Modifier and Type | Method and Description |
|---|---|
<A extends Annotation,C> |
getInjectable(Class<? extends Annotation> ac,
ComponentContext ic,
A a,
C c,
ComponentScope s)
Get an injectable.
|
<A extends Annotation,C> |
getInjectable(Class<? extends Annotation> ac,
ComponentContext ic,
A a,
C c,
List<ComponentScope> ls)
Get an injectable.
|
<A extends Annotation,C> |
getInjectableWithScope(Class<? extends Annotation> ac,
ComponentContext ic,
A a,
C c,
List<ComponentScope> ls)
Get an injectable.
|
boolean |
isAnnotationRegistered(Class<? extends Annotation> ac,
Class<?> cc)
Check if an annotation and context type is registered for injection.
|
boolean |
isInjectableProviderRegistered(Class<? extends Annotation> ac,
Class<?> cc,
ComponentScope s) |
boolean isAnnotationRegistered(Class<? extends Annotation> ac, Class<?> cc)
ac - the annotation class.cc - the context type.boolean isInjectableProviderRegistered(Class<? extends Annotation> ac, Class<?> cc, ComponentScope s)
<A extends Annotation,C> Injectable getInjectable(Class<? extends Annotation> ac, ComponentContext ic, A a, C c, ComponentScope s)
A - the type of the annotation.C - the context type. Types of the Type and
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 Annotation,C> Injectable getInjectable(Class<? extends Annotation> ac, ComponentContext ic, A a, C c, List<ComponentScope> ls)
A - the type of the annotation.C - the context type. Types of the Type and
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 Annotation,C> InjectableProviderContext.InjectableScopePair getInjectableWithScope(Class<? extends Annotation> ac, ComponentContext ic, A a, C c, List<ComponentScope> ls)
A - the type of the annotation.C - the context type. Types of the Type and
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.Copyright © 2016 Oracle Corporation. All rights reserved.