com.netflix.governator.annotations.binding
Annotation Type UpStatus


@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: