I needed to add an elementType to JBossXmlCollection to allow for the specification of the
collection element type for collections of unparameterized interfaces like:
| @XmlType(name="service-refType")
| public class JBossServiceReferencesMetaData
| extends AbstractMappedMetaData<IServiceReferenceMetaData>
| implements IServiceReferencesMetaData
| {
| ...
|
so one can define both the collection class, and its concrete element type:
| @JBossXmlCollection(type=JBossServiceReferencesMetaData.class,
elementType=JBossServiceReferenceMetaData.class)
| @XmlElement(name="service-ref")
| public void setServiceReferences(IServiceReferencesMetaData serviceReferences)
| {
| this.serviceReferences = (JBossServiceReferencesMetaData) serviceReferences;
| }
|
Can you check its use in the JBossXBNoSchemaBuilder? There was one location where I was
not clear on whether this should override the localPropertyType.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098091#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...