|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AutoWiringAdapter
An adapter interface that's used in the "AutoWiringContainer" to allow the user to specify a component's dependencies upon registration. This is not ideal, in that it's not auto-discovered constructor-based dependency injection, but since dynamic reflection is not available in the J2ME CLDC 1.1 spec, an alternate and generic injection mechanism is necessary. Implementors of this interface should be CLDC safe.
| Method Summary | |
|---|---|
java.lang.Object[] |
dependencies()
This method should return a list of keys defining the dependencies this object requires to operate. |
java.lang.Class |
getType()
Returns the type that this adapter will create. |
| Methods inherited from interface net.israfil.micro.container.ComponentFactory |
|---|
create |
| Method Detail |
|---|
java.lang.Object[] dependencies()
java.lang.Class getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||