[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Adding a new SchemaBindingInitializer
scott.stark@jboss.org
do-not-reply at jboss.com
Thu Nov 1 18:36:11 EDT 2007
Use the org.jboss.xb.binding.sunday.unmarshalling.SchemaResolverConfig bean schemaInitializers property. You could add the following to the server metadata-beans.xml if that is where you need the initializer:
| <bean name="SchemaResolverConfig"
| class="org.jboss.xb.binding.sunday.unmarshalling.SchemaResolverConfig">
|
| <!-- schemaLocation to JBossXBuilder binding classes -->
| <property name="bindingClassesByLocations">
| <map keyClass="java.lang.String" valueClass="java.lang.String">
| <!-- EarMetaData -->
| <entry>
| <key>application</key>
| <value>org.jboss.metadata.ear.spec.Ear14MetaData</value>
| </entry>
| ...
| </property>
| </bean>
|
| <property name="schemaInitializers">
| <map keyClass="java.lang.String" valueClass="java.lang.String">
| <entry>
| <key>location</key>
| <value>initializer-class</value>
| </entry>
| </property>
| </bean>
|
| </deployment>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101106#4101106
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101106
More information about the jboss-dev-forums
mailing list