Package com.google.inject
Annotation Type BindingAnnotation
-
@Target(ANNOTATION_TYPE) @Retention(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)