|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jersey.core.spi.component.ComponentInjector<T>
T
- the type to inject on.public class ComponentInjector<T>
An injector to inject on a component.
Field Summary | |
---|---|
protected java.lang.Class<T> |
c
|
protected InjectableProviderContext |
ipc
|
Constructor Summary | |
---|---|
ComponentInjector(InjectableProviderContext ipc,
java.lang.Class<T> c)
Create a component injector. |
Method Summary | |
---|---|
void |
inject(T t)
Inject on an instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final InjectableProviderContext ipc
protected final java.lang.Class<T> c
Constructor Detail |
---|
public ComponentInjector(InjectableProviderContext ipc, java.lang.Class<T> c)
ipc
- the injector provider context to obtain injectables.c
- the class of the type to inject on.Method Detail |
---|
public void inject(T t)
t
- the instance to inject on.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |