|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.spi.service.ComponentConstructor
com.sun.jersey.spi.resource.ResourceConstructor
public class ResourceConstructor
A utility class to obtain the most suitable constructor for a resource class.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.jersey.spi.service.ComponentConstructor |
---|
ComponentConstructor.ConstructorComparator<T>, ComponentConstructor.ConstructorInjectablePair<T> |
Field Summary |
---|
Fields inherited from class com.sun.jersey.spi.service.ComponentConstructor |
---|
ipc |
Constructor Summary | |
---|---|
ResourceConstructor(InjectableProviderContext ipc)
|
Method Summary | ||
---|---|---|
|
getConstructor(java.lang.Class<T> c,
AbstractResource ar,
ComponentProvider.Scope s)
Get the most suitable constructor. |
Methods inherited from class com.sun.jersey.spi.service.ComponentConstructor |
---|
getConstructor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceConstructor(InjectableProviderContext ipc)
Method Detail |
---|
public <T> ComponentConstructor.ConstructorInjectablePair<T> getConstructor(java.lang.Class<T> c, AbstractResource ar, ComponentProvider.Scope s)
T
- the type of the resource.c
- the class to instantiate.ar
- the abstract resource.s
- the scope for which the injectables will be used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |