[jboss-dev-forums] [Design of JBossXB] - Re: JBossXB does not assign schema defined attribute default

alex.loubyansky@jboss.com do-not-reply at jboss.com
Fri Jul 3 05:36:27 EDT 2009


The attribute shouldn't be bound into the blueprint namespace of course.

The issue is actually with jboss-reflect. Apparently, propertyInfo.getUnderlyingAnnotation(annotationType) doesn't work for 'is'-methods (i.e. it returns null even if the method is annotated). If you move @XmlAttribute to setDefaultLazyInit(...) it'll work.

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

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



More information about the jboss-dev-forums mailing list