[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: MC + JAXB (JBossXB Builder)

adrian@jboss.org do-not-reply at jboss.com
Mon Jan 7 10:49:31 EST 2008


"alesj" wrote : "adrian at jboss.org" wrote : 
  |   | Are these now broken?
  |   | 
  | Yes.
  | 
  | I ran them from IDEA's JUnit integration.
  | Some of them pass, but most of them fail due to collection's element interface usage (instead of using declared type="AbstractXYZMetaData") when binding.

I'm not seeing this. When I run the builder mc tests they all pass.
You know the builder code and test are now in the jbossxb
project? The original jbossxb-builder project is obsolete.

e.g. If I run the org.jboss.test.xb.builder.object.mc.test.DependencyTestCase
it passes. The model is declared (AbstractBeanMetaData):

  |    /**
  |     * Set what the bean depends.
  |     *
  |     * @param depends Set<DependencyMetaData>
  |     */
  |    @XmlElement(name="depends", type=AbstractDependencyMetaData.class)
  |    public void setDepends(Set<DependencyMetaData> depends)
  |    {
  |       this.depends = depends;
  |       flushJBossObjectCache();
  |    }
  | 

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

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



More information about the jboss-dev-forums mailing list