org.elasticsearch.common.inject.internal
Class ExposureBuilder<T>

java.lang.Object
  extended by org.elasticsearch.common.inject.internal.ExposureBuilder<T>
All Implemented Interfaces:
AnnotatedElementBuilder

public class ExposureBuilder<T>
extends Object
implements AnnotatedElementBuilder

For private binder's expose() method.


Constructor Summary
ExposureBuilder(Binder binder, Object source, Key<T> key)
           
 
Method Summary
 void annotatedWith(Annotation annotation)
          See the EDSL examples at Binder.
 void annotatedWith(Class<? extends Annotation> annotationType)
          See the EDSL examples at Binder.
protected  void checkNotAnnotated()
           
 Key<?> getKey()
           
 Object getSource()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExposureBuilder

public ExposureBuilder(Binder binder,
                       Object source,
                       Key<T> key)
Method Detail

checkNotAnnotated

protected void checkNotAnnotated()

annotatedWith

public void annotatedWith(Class<? extends Annotation> annotationType)
Description copied from interface: AnnotatedElementBuilder
See the EDSL examples at Binder.

Specified by:
annotatedWith in interface AnnotatedElementBuilder

annotatedWith

public void annotatedWith(Annotation annotation)
Description copied from interface: AnnotatedElementBuilder
See the EDSL examples at Binder.

Specified by:
annotatedWith in interface AnnotatedElementBuilder

getKey

public Key<?> getKey()

getSource

public Object getSource()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012. All Rights Reserved.