[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Field signature usage
alesj
do-not-reply at jboss.com
Mon Mar 17 09:06:32 EDT 2008
"alesj" wrote : "adrian at jboss.org" wrote :
| | Why? What are you talking about?
| | BeanInfo/Reflection is not based on the metadata repository. It is the other way around.
| |
| Sure.
| But have a look at AbstractBeanAnnotationAdapter.
| It needs Signature to get the MetaData.
|
| "adrian at jboss.org" wrote :
| | If you've done the field properties correctly, then this should just be
| | a case of using propertyInfo.get(Underlying)Annotations()
| | i.e. no getters/setters means use the field to get the annotations, but this
| | is all hidden from the caller - they are "property annotations"
| |
| That's all done. ;-)
OK, PI.getFieldInfo solves the problem.
I'll remove the fields check in AbstractBeanAnnotationAdapter, since they are already included in the propertys if the beaninfo has the right mode.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137041#4137041
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137041
More information about the jboss-dev-forums
mailing list