|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Context
Context of the current injection.
| Method Summary | |
|---|---|
Container |
getContainer()
Gets the Container. |
java.lang.reflect.Member |
getMember()
Gets the field, method or constructor which is being injected. |
java.lang.String |
getName()
Gets the name of the injection specified by Inject.value(). |
Scope.Strategy |
getScopeStrategy()
Gets the current scope strategy. |
java.lang.Class<?> |
getType()
Gets the type of the field or parameter which is being injected. |
| Method Detail |
|---|
Container getContainer()
Container.
Scope.Strategy getScopeStrategy()
Container.setScopeStrategy(Scope.Strategy).
java.lang.IllegalStateException - if no strategy has been setjava.lang.reflect.Member getMember()
null if the object currently being constructed is pre-loaded as
a singleton or requested from Container.getInstance(Class).
java.lang.Class<?> getType()
java.lang.String getName()
Inject.value().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||