|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Start
Annotation indicating this method should be called when the application starts up.
If nothing else depends on this bean, then this bean will only work if the bean is explicitly bound. Note: If this bean is provided by an @Provided method, then that method *must* be annotated with @Singleton, otherwise it won't be detected.
Optional Element Summary | |
---|---|
int |
order
The order in which it should be started, higher meaning later. |
public abstract int order
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |