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

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


"adrian at jboss.org" wrote : 
  | I know you're probably scared of me telling you did it wrong after the fact,
  | but now I'll tell you that you are asking a stupid question before the fact. :-)
  | 
Could be, but I think it's again the case of 'me explaining what I want badly'. :-)
See below for more details.

"adrian at jboss.org" wrote : 
  | Isn't it obvious that PropertyInfo is the contract and AbstractPropertyInfo
  | is an implementation detail?
  | 
Really?
I thought I was missing some conclusion after 2 years of work on MC? :-)

"adrian at jboss.org" wrote : 
  | There should be some refactoring like;
  | 
  |   | public abstract class AbstractPropertyInfo implements PropertyInfo { String name }
  |   | public class StandardPropertyInfo extends AbstractPropertyInfo { MethodInfo getter, MethodInfo setter }
  |   | public class FieldPropertyInfo extends AbstractPropertyInfo { FieldInfo field }
  |   | 
  | 
Already got exactly all this in place. ;-)

OK, let me try once more to explain what I see as an issue.
...
Eh, during thinking what I wanted to ask/write, I understood what I really needed to do.
So, yes, we can call my previous post again a bad explanation. Since I see I couldn't explain it even to myself at that time. :-)


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

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



More information about the jboss-dev-forums mailing list