com.google.inject.binder
Interface AnnotatedConstantBindingBuilder


public interface AnnotatedConstantBindingBuilder

Specifies the annotation for a constant binding.


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

Method Detail

annotatedWith

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


annotatedWith

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



Copyright 2007 Google Inc. All Rights Reserved.