|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AutoWiringAdaptableContainer
A Container that uses an AutoWiringAdapter to ensure that components can be created appropriately with their dependencies satisfied automatically.
| Method Summary | |
|---|---|
void |
registerType(java.lang.Object key,
AutoWiringAdapter componentAdapter)
Register a component. |
void |
registerType(java.lang.Object key,
java.lang.Class componentAdapter)
Register an independent component. |
void |
start()
Begin the lifecycle of the container, after which components should be accessible. |
| Methods inherited from interface net.israfil.micro.container.Container |
|---|
getComponent, hasComponent, isRunning |
| Method Detail |
|---|
void start()
Container
start in interface Container
void registerType(java.lang.Object key,
AutoWiringAdapter componentAdapter)
Injectable.class.isAssignableFrom(type);
to ensure that the provided component implements the lifecycle
mechanisms necessary to auto-wire.
void registerType(java.lang.Object key,
java.lang.Class componentAdapter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||