com.google.inject

Annotation Type BindingAnnotation



  • @Target(value=ANNOTATION_TYPE)
    @Retention(value=RUNTIME)
    public @interface BindingAnnotation
    Annotates annotations which are used for binding. Only one such annotation may apply to a single injection point. You must also annotate binder annotations with @Retention(RUNTIME). For example:
       @Retention(RUNTIME)
       @Target({ FIELD, PARAMETER, METHOD })
       @BindingAnnotation
       public @interface Transactional {}
     
    Author:
    crazybob@google.com (Bob Lee)

Copyright © 2006-2015 Google, Inc.. All Rights Reserved.