|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={METHOD,PARAMETER,FIELD})
public @interface InjectThis annotation can be used to bind fields to objects according with CruxIocContainer configurations.
For example, see the following class:
@Controller("myController") public class MyController {@Inject private MyService service; }
| Optional Element Summary | |
|---|---|
Inject.Scope |
scope
Deprecated. |
String |
subscope
Deprecated. |
@Deprecated public abstract Inject.Scope scope
@Deprecated public abstract String subscope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||