[jboss-dev-forums] [Design of JBossXB] - Re: annotations on properties declared in interfaces
adrian@jboss.org
do-not-reply at jboss.com
Thu Oct 25 10:28:19 EDT 2007
If you are saying what I think you're saying then yes, but I can't reproduce it?
I created a test that shows it is picking up the annotations from the implementation class
not the interface (which is correct).
[url]
https://svn.jboss.org/repos/jbossas/projects/microcontainer/trunk/container/src/tests/org/jboss/test/beaninfo/support/BeanInfoAnnotatedGetterAndSetterWithInterface.java[/url]
| 92 DEBUG [BeanInfoUnitTestCase] Checking annotations for something expected: [AnnotationValueImpl at 1f26605{name=org.jboss.test.beaninfo.suppo
| rt.BeanInfoAnnotation1}] actual=[AnnotationValueImpl at 587c94{name=org.jboss.test.beaninfo.support.BeanInfoAnnotation1}]
| 92 DEBUG [BeanInfoUnitTestCase] testBeanAnnotatedGetterAndSetterWithInterface took 92ms
|
Perhaps you can create a test in the container project that shows what you are seeing?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098852#4098852
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098852
More information about the jboss-dev-forums
mailing list