|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface InjectAnnotation to define a required resource for a component. The HK2 runtime injects all instance variables annotated with
Habitat| Optional Element Summary | |
|---|---|
java.lang.String |
name
Returns the name. |
boolean |
optional
When true, it is not an error if not present. |
public abstract java.lang.String name
public abstract boolean optional
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||