A - the annotation typeT - the type returned by Injectable.getValue()public abstract class PerRequestTypeInjectableProvider<A extends Annotation,T> extends Object implements InjectableProvider<A,Type>
| Constructor and Description |
|---|
PerRequestTypeInjectableProvider(Type t)
Construct a new instance with the Type
|
| Modifier and Type | Method and Description |
|---|---|
abstract Injectable<T> |
getInjectable(ComponentContext ic,
A a)
Get an injectable for type T.
|
Injectable |
getInjectable(ComponentContext ic,
A a,
Type c)
Get an injectable.
|
ComponentScope |
getScope()
Get the scope of the injectable provider.
|
public PerRequestTypeInjectableProvider(Type t)
t - the type of T.public final ComponentScope getScope()
InjectableProvidergetScope in interface InjectableProvider<A extends Annotation,Type>public final Injectable getInjectable(ComponentContext ic, A a, Type c)
InjectableProvidergetInjectable in interface InjectableProvider<A extends Annotation,Type>ic - the injectable contexta - the annotation instancec - the context instancepublic abstract Injectable<T> getInjectable(ComponentContext ic, A a)
ic - the injectable contexta - the annotation instanceCopyright © 2016 Oracle Corporation. All rights reserved.