|
||||||||||
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 . |
Member |
getMember()
Gets the field, method or constructor which is being injected. |
String |
getName()
Gets the name of the injection specified by Inject.value() . |
Scope.Strategy |
getScopeStrategy()
Gets the current scope strategy. |
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)
.
IllegalStateException
- if no strategy has been setMember getMember()
null
if the object currently being constructed is pre-loaded as
a singleton or requested from Container.getInstance(Class)
.
Class<?> getType()
String getName()
Inject.value()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |