[jboss-dev-forums] [Design the new POJO MicroContainer] - Moving parsing to JBossXB.Builder/JAXB

alesj do-not-reply at jboss.com
Wed Mar 26 08:27:14 EDT 2008


I would like to finish with moving MC parsing to the new JBossXB.Builder.
In order to do that, lets first do a status check. :-)

Kabir, what's the status of AOP-MC-int and JAXB usage?
Since I've seen it moving in and out. :-)

Is the SchemaBindingResolver I've modified to use this new stuff in place?
Jumping in IDE to SingletonSchemaResolverFactory shows that we already use is:

  |    private SingletonSchemaResolverFactory()
  |    {
  |       // old initializer 
  |       addSchema("urn:jboss:aop-beans:1.0", "org.jboss.aop.microcontainer.beans.xml.AOPBeansSchemaInitializer", Boolean.FALSE);
  |       addSchema("urn:jboss:spring-beans:2.0", "org.jboss.spring.deployment.xml.SpringSchemaInitializer", Boolean.FALSE);
  |       addSchema("urn:jboss:osgi-beans:1.0", "org.jboss.osgi.deployment.xml.OSGiSchemaInitializer", Boolean.FALSE);
  |       addSchema("urn:jboss:seam-components:1.0", "org.jboss.seam.ioc.microcontainer.xml.SeamSchemaInitializer", Boolean.FALSE);
  |       // new jaxb
  |       //addJaxbSchema("urn:jboss:aop-beans:1.0", "org.jboss.aop.microcontainer.beans.metadata.AOPDeployment");
  |       addJaxbSchema("urn:jboss:bean-deployer", "org.jboss.kernel.plugins.deployment.AbstractKernelDeployment10");
  |       addJaxbSchema("urn:jboss:bean-deployer:2.0", "org.jboss.kernel.plugins.deployment.AbstractKernelDeployment");
  |       addJaxbSchema("urn:jboss:javabean:1.0", "org.jboss.javabean.plugins.jaxb.JavaBean10");
  |       addJaxbSchema("urn:jboss:javabean:2.0", "org.jboss.javabean.plugins.jaxb.JavaBean20");
  |       addJaxbSchema("urn:jboss:policy:1.0", "org.jboss.beans.metadata.plugins.policy.AbstractPolicyMetaData");
  |       addJaxbSchema("urn:jboss:classloading:1.0", "org.jboss.classloading.spi.metadata.ClassLoadingMetaData10");
  |       addJaxbSchema("urn:jboss:classloader:1.0", " org.jboss.classloading.spi.vfs.metadata.VFSClassLoaderFactory10");
  |    }
  | 
Except for AOP.

We've already got people wandering:
 - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132413
I've put David on hold until I validate that this is all working.
Probably the best test will be when I (re)move the old SchemaInitializer. :-)

I'll move the initializer code to spring-int.
Although predicted by Adrian that I'll eventually complain over this, I'll take my chances.

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

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



More information about the jboss-dev-forums mailing list