[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Field injection
adrian@jboss.org
do-not-reply at jboss.com
Fri Mar 14 11:36:29 EDT 2008
"adrian at jboss.org" wrote : "alesj" wrote :
| | "adrian at jboss.org" wrote :
| | | This should have a BeanInfo with one property which is a FieldPropertyInfo
| | |
| | What about if the bean is in ALL or FIELDS mode and the property has just setter or just getter?
| | OK, there should be some kind of CombinedPropertyInfo.
| |
|
| I don't know, I'm not deep in the implementation details and don't want to be.
| I have my own work to do. :-)
|
| If you think there is a policy choice to be made then let
| the user decide with a addtional enum value.
|
Or post examples where you think there is a problem we don't have
to do full analysis ourselves.
Then we can decide whether use case makes sense.
To me the only ones that I'd personally use are the three I gave above,
but I could be wrong.
The more permutations and external policy you add, the more you've got to test and
the more chance of error due to complexity.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136744#4136744
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136744
More information about the jboss-dev-forums
mailing list