|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.spi.service.ComponentConstructor
public class ComponentConstructor
A class that may be used to obtain the most appropriate constructor (with injectables) for a component.
| Nested Class Summary | |
|---|---|
static class |
ComponentConstructor.ConstructorComparator<T>
|
static class |
ComponentConstructor.ConstructorInjectablePair<T>
A tuple of a constructor and the list of injectables associated with the parameters of the constructor. |
| Field Summary | |
|---|---|
protected InjectableProviderContext |
ipc
|
| Constructor Summary | |
|---|---|
ComponentConstructor(InjectableProviderContext ipc)
Create a component constructor with the injectable provider context. |
|
| Method Summary | ||
|---|---|---|
|
getConstructor(java.lang.Class<T> c)
Get the most suitable constructor. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final InjectableProviderContext ipc
| Constructor Detail |
|---|
public ComponentConstructor(InjectableProviderContext ipc)
ipc - the injectable provider context.| Method Detail |
|---|
public <T> ComponentConstructor.ConstructorInjectablePair<T> getConstructor(java.lang.Class<T> c)
T - The type to construct.c - the class to instantiate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||