I am going through the files distributed in the conf directory. One file that is not used in the code anymore is XASharedConfig.
XML. I am going to remove this but I found an old reference to this in the help system in 4655.html. This talks about the copybook bizcomp and configuring various types of COMP notations (COMP-2, COMP-3, COMP-4, etc.). The new way of configuring these is by using
Spring configs in BizComponentConfig.xml as follows:
| Code: |
<bean id="CopybookBizCompInst"
class="org.xaware.server.engine.instruction.bizcomps.CopybookBizCompInst"
scope="prototype">
<property name="converters">
<map>
<entry key="COMP-3" value-ref="CopybookComp3Converter" />
<entry key="COMPUTATIONAL-3" value-ref="CopybookComp3Converter" />
<!-- Do not remove the below entry as it is the default converter -->
<entry key="*" value-ref="CopybookTextConverter" />
</map>
</property>
</bean>
<bean id="CopybookComp3Converter"
class="org.xaware.server.engine.instruction.bizcomps.copybook.CopybookCOMP3Converter"
scope="prototype" />
<bean id="CopybookTextConverter"
class="org.xaware.server.engine.instruction.bizcomps.copybook.CopybookTextConverter"
scope="prototype" />
|