|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,PARAMETER,METHOD}) @Retention(value=RUNTIME) public @interface UpStatus
A generic binding annotation that can be associated with the up status of an application.
bind(Boolean.class).annotatedWith(UpStatus.class).toInstance(new AtomicBoolean(true)); bind(new TypeLiteral() {}>).annotatedWith(UpStatus.class).toInstance(new SomeSupplierThatTellsYouTheUpStatus()); public class Foo() {
- See Also:
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |