com.google.inject.binder
Interface AnnotatedBindingBuilder<T>
- All Superinterfaces:
- LinkedBindingBuilder<T>, ScopedBindingBuilder
public interface AnnotatedBindingBuilder<T>
- extends LinkedBindingBuilder<T>
Specifies the annotation for a binding.
annotatedWith
LinkedBindingBuilder<T> annotatedWith(Class<? extends Annotation> annotationType)
- Specifies an annotation type for this binding.
annotatedWith
LinkedBindingBuilder<T> annotatedWith(Annotation annotation)
- Specifies an annotation value for this binding.
Copyright 2007 Google Inc. All Rights Reserved.