|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface Extract
Marks variables to be exported into the
Habitat.
Care should be taken to use a name that is meangingful (self-documenting) as well as one unlikely to conflict with names used by other components. Extracted fields that are not named are essentially globals, intended for use by "singleton" services.
Example:
Inject,
Habitat| Optional Element Summary | |
|---|---|
java.lang.String |
name
Returns the name. |
public abstract java.lang.String name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||