Moving parsing to JBossXB.Builder/JAXB
alesj Mar 26, 2008 8:27 AMI 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 it:
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.