|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.utils.ioc.modules.IoCBinder
public class IoCBinder
Defines a binding point between interfaces and implementations.
Constructor Summary | |
---|---|
IoCBinder()
|
Method Summary | |
---|---|
void |
addBindingsToManager()
Add the temporary bindings list to the manager. |
IoCBinding |
bind(Class<?> interfaceType,
Class<?> implementationType)
Binds an implementation type to an interface type. |
void |
install(IIoCModule module)
Installs a new module. |
void |
updateBinding(IoCBinding binding)
Updates the binding entry on the temporary module bindings map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IoCBinder()
Method Detail |
---|
public IoCBinding bind(Class<?> interfaceType, Class<?> implementationType)
interfaceType
- the interface typeimplementationType
- the implementation type
public void updateBinding(IoCBinding binding)
binding
- the binding to updatepublic void addBindingsToManager()
public void install(IIoCModule module)
module
- the new module to install
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |