|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Instance<T>
| Method Summary | ||
|---|---|---|
T |
get()
Return the instance, the same instance should be returned, however it can lazily be created. |
|
|
resolve(Class<T> type)
Resolve the specified contextual type to an instance or return null if no object able to satisfy the class type was resolved. |
|
| Method Detail |
|---|
<T> T resolve(Class<T> type)
T - the generic type parametertype - the type to resolve
T get()
throws Exception
Exception - any exception preventing to obtain the instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||