Silk DI 0.6


se.jbee.inject.bind
Class InitializedBinder

Object
  extended by se.jbee.inject.bind.Binder
      extended by se.jbee.inject.bind.Binder.TargetedBinder
          extended by se.jbee.inject.bind.Binder.ScopedBinder
              extended by se.jbee.inject.bind.Binder.RootBinder
                  extended by se.jbee.inject.bind.InitializedBinder
Direct Known Subclasses:
BinderModule, BinderModuleWith

public abstract class InitializedBinder
extends Binder.RootBinder

A Binder.RootBinder that can be initialized using the init(Bindings) method. This allows to change the start Bind once.

Author:
Jan Bernitt (jan@jbee.se)

Nested Class Summary
 
Nested classes/interfaces inherited from class se.jbee.inject.bind.Binder
Binder.ConfigBinder<T>, Binder.InspectBinder, Binder.RootBinder, Binder.ScopedBinder, Binder.TargetedBinder, Binder.TypedBinder<T>, Binder.TypedElementBinder<E>
 
Field Summary
 
Fields inherited from class se.jbee.inject.bind.Binder
root
 
Constructor Summary
protected InitializedBinder()
           
protected InitializedBinder(Scope inital)
           
protected InitializedBinder(Source source)
           
 
Method Summary
(package private)  Bind bind()
           
protected  void init(Bindings bindings)
           
 
Methods inherited from class se.jbee.inject.bind.Binder.RootBinder
asDefault, on, per, provide, require, require
 
Methods inherited from class se.jbee.inject.bind.Binder.ScopedBinder
bind, injectingInto, injectingInto, injectingInto, injectingInto, injectingInto
 
Methods inherited from class se.jbee.inject.bind.Binder.TargetedBinder
in, inPackageAndSubPackagesOf, inPackageOf, inSubPackagesOf, within, within, within, within, within
 
Methods inherited from class se.jbee.inject.bind.Binder
arraybind, autobind, autobind, bind, bind, bind, bind, bind, configbind, configbind, construct, construct, construct, create, implicit, implicitBindToConstructor, implicitBindToConstructor, multibind, multibind, multibind, multibind, multibind, starbind, with
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitializedBinder

protected InitializedBinder()

InitializedBinder

protected InitializedBinder(Scope inital)

InitializedBinder

protected InitializedBinder(Source source)
Method Detail

bind

final Bind bind()
Overrides:
bind in class Binder

init

protected final void init(Bindings bindings)

Silk DI 0.6