JXFSChk Service external definitions

Some of the settings for the JXFS Check Reader Device Service are externalized in the following files.

dse.ini

<field id="JXFSChk" value="com.ibm.dse.services.jxfs.chk.JXFSChk"/> 

dsesrvce.xml

<JXFSChk id="JXFSChk" deviceName="CheckReader" automaticOpen="false" 
    jxfsIniConfig="c:\\Program Files\\FDI\\Configuration\\demo.cfg"

    getImage="true" stampFront="false" stampBack="true" stampX="120" 
    stampY="50" endorseFront="true" endorseBack="false" sortOnly="false" 
    pocket="2" encodeFont="Courier" endorseData="Checked by IBM"/>

The com.ibm.dse.services.jxfs.chk.JXFSChk class has the following data externalized in the service definition file:

Table 1. JXFSChk tag attributes
Attribute Description
id Server instance name.
deviceName String with the JXFS DeviceControl name. This has to be the same name as the one in the JXFS repository.
automaticOpen A boolean value that indicates that the service will open the J/XFS Device Control in its constructor. The default value is false.
jxfsIniConfig String that indicates the location of the configuration file used to initialize J/XFS Device Manager. If the service is the first J/XFS application accessing the Device Manager, it must do the initialization.
getImage A boolean value that indicates whether the service will read the check image.
stampFront A boolean value that indicates whether the service will stamp the front of the check.
stampBack A boolean value that indicates whether the service will stamp the back of the check.
stampX An Integer value that contains the X position where the service will perform the stamp.
stampY An Integer value that contains the Y position where the service will perform the stamp.
endorseFront A boolean that indicates whether the service will endorse the front of the check.
endorseBack A boolean that indicates whether the service will endorse the back of the check.
sortOnly A boolean that indicates whether the service will only sort the checks.
pocket An Integer value that indicates the pocket where the service will put the check.
encodeData A String that contains the data to be encoded.
encodeFont A String that contains the font to be used when encoding.
endorseData A String that contains the data required for endorsement.

The first four attributes are inherited from the JXFSService.

Note: If the JXFSIniConfig parameter is not specified, the service will not do the JXFS Device Manager initialization. The configuration file must be compatible with the java.util.Properties class.