The JXFSPrt Service has the following data externalized in the services
definition file:
Table 1. JXFSPrt tag attributesAttribute |
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. |
useAllFields |
Indicates what action to take if some required fields are not in the
jxfsForm format definition. Indicates if a direct search is to be done of
the format's keyed collection fields in the context. Possible values
are: - never
- always
- whenPossible
|
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. |
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.
Example of an XML tag defining a JXFS Printer Service: <JXFSPrt id="myPrinter" deviceName="DocuPrinter" useAllFields="never"
automaticOpen="true" jxfsIniConfig="c:\\jxfs\\jxfs.cfg" />