"alesj" wrote :
| I'm about to write bean class inspection for property @Inject - which will take
place in DescribeAction - and will add PropertyMetaData to existing BeanMetaData (as
discused).
|
| Should I wait for 'I do intend in future to define a proper contract'?
|
No since I've got no idea what that contract is, except
that it is a generalization of all the inject/depends/demands
such that a specific dependency type can be "plugged in"
without having to modify the kernel.
e.g. pseudo idea
| <register dependency="JNDI">
| <.../> <!-- description of dependency mechanism>
| </register>
|
| <inject bean="Blah" type="JNDI"/>
|
anonymous wrote :
| How to make this more general - handling all kinds of annotations, different
injections (not just property, also constructor, collections, ...)?
Again, I haven't given any thought to it.
You can certainly use parameter annotations to describe
parameter injections.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965219#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...