[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Bean property inspection and actual injection
adrian@jboss.org
do-not-reply at jboss.com
Mon Aug 14 10:02:54 EDT 2006
The inspection should come from "reflection abstraction"
in the container module which is integrated via the
Configurator/BeanInfo.
The other parts of the injection is just mapping this to
the context name via the new dependeny item which will then
get used in the AbstractDependencyValueMetaData.
Also your package names are wrong.
Everything should be either under
"spi" (contract - definitions) or
"plugins" (implemementation details/choices)
Injection is not a part of the general contract.
It is a part of one possible implementation of the contract,
i.e. the xml or AbstractDependencyValueMetaData
The general contract is just the ValueMetaData
and MetaDataVisitor.
I do intend in future to define a proper contract
such that you can more easily "write your own dependency".
See other threads in this forum.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964976#3964976
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964976
More information about the jboss-dev-forums
mailing list