com.twitter.common.inject
Interface Bindings.BindHelper<T>

Type Parameters:
T - the type this helper can be used to bind implementations for
Enclosing class:
Bindings

public static interface Bindings.BindHelper<T>

A guice binding helper that allows for any combination of Class, TypeLiteral or Key binding without forcing guiced implementation to provide all the overloaded binding methods they would otherwise have to.


Method Summary
 LinkedBindingBuilder<T> with(Binder binder)
          Associates this BindHelper with an Injector instance.
 

Method Detail

with

LinkedBindingBuilder<T> with(Binder binder)
Associates this BindHelper with an Injector instance.

Parameters:
binder - the binder for the injector implementations will be bound in
Returns:
a binding builder that can be used to bind an implementation with