[jboss-dev-forums] [Design of JBossXB] - Re: Annotating a List which must appear as an element

wolfc do-not-reply at jboss.com
Tue May 26 04:03:41 EDT 2009


Can't happen with jaxb 2.0, it needs jaxb 2.1. And then as Emanuel pointed out, it simply becomes:
   @XmlElement(name="managed-bean")
  |    @XmlElementWrapper(name="managed-beans")
  |    public void setManagedBeans(ManagedBeansMetaData managedBeans)
  |    {
  |       this.managedBeans = managedBeans;
  |    }

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

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



More information about the jboss-dev-forums mailing list