[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Why SingletonSchemaResolverFactory?
adrian@jboss.org
do-not-reply at jboss.com
Wed Jan 17 10:44:26 EST 2007
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#4002874
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002874
More information about the jboss-dev-forums
mailing list