com.google.inject.binder
Interface AnnotatedConstantBindingBuilder


public interface AnnotatedConstantBindingBuilder

Specifies the annotation for a constant binding.

Author:
crazybob@google.com (Bob Lee)

Method Summary
 ConstantBindingBuilder annotatedWith(java.lang.annotation.Annotation annotation)
          Specifies an annotation value for this binding.
 ConstantBindingBuilder annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
          Specifies an annotation type for this binding.
 

Method Detail

annotatedWith

ConstantBindingBuilder annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Specifies an annotation type for this binding.


annotatedWith

ConstantBindingBuilder annotatedWith(java.lang.annotation.Annotation annotation)
Specifies an annotation value for this binding.



Copyright © 2008. All Rights Reserved.