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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...