|
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.BinderModule
public abstract class BinderModule
The default utility Module almost always used.
A BinderModule 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 | |
|---|---|
protected |
BinderModule()
|
protected |
BinderModule(Scope inital)
|
protected |
BinderModule(Source source)
|
| Method Summary | |
|---|---|
void |
bootstrap(Bootstrapper bootstrap)
|
protected abstract void |
declare()
|
void |
declare(Bindings bindings)
|
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 |
|---|
protected BinderModule()
protected BinderModule(Scope inital)
protected BinderModule(Source source)
| 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)
declare in interface Modulebindings - use to declare made bound within this Module.public String toString()
toString in class Objectprotected abstract void declare()
Module.declare(Bindings)
|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||