|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.spi.inject.PerRequestTypeInjectableProvider<A,T>
A
- the annotation typeT
- the type returned by Injectable.getValue()
public abstract class PerRequestTypeInjectableProvider<A extends Annotation,T>
A utility class that may implemented to support a per-request injectable provider for a specific type T.
Constructor Summary | |
---|---|
PerRequestTypeInjectableProvider(Type t)
Construct a new instance with the Type |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PerRequestTypeInjectableProvider(Type t)
t
- the type of T.Method Detail |
---|
public final ComponentScope getScope()
InjectableProvider
getScope
in interface InjectableProvider<A extends Annotation,Type>
public final Injectable getInjectable(ComponentContext ic, A a, Type c)
InjectableProvider
getInjectable
in interface InjectableProvider<A extends Annotation,Type>
ic
- the injectable contexta
- the annotation instancec
- the context instance
public abstract Injectable<T> getInjectable(ComponentContext ic, A a)
ic
- the injectable contexta
- the annotation instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |