[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Field injection

alesj do-not-reply at jboss.com
Fri Mar 14 08:51:40 EDT 2008


"adrian at jboss.org" wrote : 
  | This should have a BeanInfo with one property which is a FieldPropertyInfo
  | i.e. instead of:
  | MethodInfo getter, setter;
  | it has
  | FieldInfo field; (there is no getter/setter)
  | 
  | propertyInfo.getType() -> field.getType(); // instead of the "return type"
  | propertyInfo.set() -> field.set(); // instead of a method invocation
  | 
This is exactly what I was looking for ... and had similar hack in mind. :-)

So, it looks like it was explained well after all.
Or you could be psychic. :-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136656#4136656

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136656



More information about the jboss-dev-forums mailing list