|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.spi.resource.ResourceClassInjector
public final class ResourceClassInjector
An injector that injects onto properties of a resource.
Analysis of the class will be performed using reflection to find
Injectable instances and as a result the use of reflection is
minimized when performing injection.
| Constructor Summary | |
|---|---|
ResourceClassInjector(InjectableProviderContext ipc,
ComponentProvider.Scope s,
AbstractResource resource)
Create a new resource class injector. |
|
| Method Summary | |
|---|---|
void |
inject(HttpContext c,
java.lang.Object o)
Inject onto an instance of a resource class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceClassInjector(InjectableProviderContext ipc,
ComponentProvider.Scope s,
AbstractResource resource)
ipc - the injectable provider context to obtain injectables.s - the scope underwhich injection will be performed.resource - the abstract resource model.| Method Detail |
|---|
public void inject(HttpContext c,
java.lang.Object o)
c - the HTTP context, may be set to null if not available for the
current scope.o - the resource.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||