|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectse.jbee.inject.bind.Binder
se.jbee.inject.bind.Binder.TargetedBinder
se.jbee.inject.bind.Binder.ScopedBinder
se.jbee.inject.bind.Binder.RootBinder
se.jbee.inject.bind.InitializedBinder
se.jbee.inject.bind.BinderModuleWith<T>
public abstract class BinderModuleWith<T>
The default utility PresetModule.
A BinderModuleWith is also a Bundle so it should be used and installed as such.
It will than Bundle.bootstrap(Bootstrapper) itself as a module.
| 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 | |
|---|---|
BinderModuleWith()
|
|
| Method Summary | |
|---|---|
void |
bootstrap(Bootstrapper bootstrap)
|
void |
declare(Bindings bindings,
T preset)
|
protected abstract void |
declare(T preset)
|
String |
toString()
|
| Methods inherited from class se.jbee.inject.bind.InitializedBinder |
|---|
bind, init |
| 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, wait, wait, wait |
| Constructor Detail |
|---|
public BinderModuleWith()
| Method Detail |
|---|
public final void bootstrap(Bootstrapper bootstrap)
bootstrap in interface Bundlebootstrap - The Bootstrapper this Bundle should install itself to.
public final void declare(Bindings bindings,
T preset)
declare in interface PresetModule<T>bindings - use to declare made bound within this Module.preset - The preset value (chosen by the value's type from the set of all preset values).
This can very well be null in case no such type value has been preset.public String toString()
toString in class Objectprotected abstract void declare(T preset)
preset - The value contained in the Presets for the type of this
PresetModule.PresetModule.declare(Bindings, Object)
|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||