There is an MBean/POJO that can be deployed to add schemas at runtime.
The singleton is just a mechanism to setup "known ones" automatically.
i.e. factory settings.
There is a post about it somewhere in the JBossXB forum.
If search worked I could find it for you. :-)
e.g.
| <bean name="Schemas"
class="org.jboss.xb.binding.sunday.unmarshalling.SchemaResolverConfig">
|
| <!-- The initializer classes -->
| <property name="SchemaInitializers">
| urn:somenamespace=some.class.name
| </property>
|
| <!-- The locations these are added to JBossEntityResolver -->
| <property name="SchemaLocations">
| urn:somenamespace=schema/some.xsd
| </property>
|
| <!-- Only for performance if your schema is annotated, but only with coments
-->
| <property name="ParseAnnotations">
| urn:somenamespace=false
| </property>
| </bean>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002874#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...