[jboss-jira] [JBoss JIRA] Resolved: (JBAS-8745) externalize SchemaBinding properties config
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Wed Dec 15 11:28:18 EST 2010
[ https://issues.jboss.org/browse/JBAS-8745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky resolved JBAS-8745.
-------------------------------------
Resolution: Done
This is done. metadata-deployer-jboss-beans.xml now has the following config options
<bean name="SchemaResolverConfig"
class="org.jboss.xb.binding.sunday.unmarshalling.SchemaResolverConfig">
+ <property name="schemaInitializerInstances">
+ <map keyClass="java.lang.String" valueClass="java.lang.String">
+ <entry>
+ <key>http://java.sun.com/xml/ns/javaee</key>
+ <value>
+ <!-- Every specified property in this schema initializer
+ will override the value of the corresponding SchemaBinding property
+ which was initialized from binding annotations.
+ Properties that are commented will not affect the corresponding SchemaBinding properties. -->
+ <bean class="org.jboss.xb.util.SchemaBindingPropertyInitializer">
+ <!-- must all content have a valid binding
+ <property name="strictSchema">true</property> -->
+ <!-- Should ${x} references be replaced with x system property
+ <property name="replacePropertyRefs">true</property> -->
+ <!-- if all the characters in the mixed content are whitespaces
+ should they be considered indentation and ignored?
+ <property name="ignoreWhitespacesInMixedContent">true</property> -->
+ <!-- whether to trim string values
+ <property name="normalizeSpace">true</property> -->
+ </bean>
+ </value>
+ </entry>
+ </map>
+ </property>
> externalize SchemaBinding properties config
> -------------------------------------------
>
> Key: JBAS-8745
> URL: https://issues.jboss.org/browse/JBAS-8745
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Alexey Loubyansky
> Assignee: Alexey Loubyansky
> Fix For: 6.0.0.Final
>
>
> Normally, SchemaBinding properties, such as replacePropertyRefs, strictSchema, etc, are initialized with XB binding annotations. Which means they can't be easily changed at runtime on the deployer level. In fact, there is a need to be able to easily set those properties using a configuration file.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list