Scott is working on the EJBs where field injection is heavily used, and he needs this
asap. :-)
From the distance it looks very similar to what we have with
propertys.
e.g.
| <bean name="mybean" class="org.jboss.acme.MyBean">
| <field name="somefield"><inject
bean="somebean"/></field>
| <field name="mynumber"
class="java.lang.Long">123456789</field>
| </bean>
|
Is there a reason why we never mentioned/implemented field injection?
AOP is one for sure. But if the pojo is not aspectized, then it should be OK, otherwise
just a reasonable error/info should be thrown.
Or what's the difference between invoking method vs. field via reflection on the AOP
proxy?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135632#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...