uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

6.9.3 Referring to external jar from transformation function

In Custom function, you can handle multiple user-defined jar file (external jar), in addition to transformation function jar file.

When you want to refer external jar from transformation function jar file, add external jar to usrconf.cfg (option definition file for java application). Description of setting contents is as follows:

Storage destination of usrconf.cfg
<Service platform installation directory>\CC\server\usrconf\ejb\server name\usrconf.cfg

Description format of usrconf.cfg
add.class.path=<external jar name>#
# Set the name of external jar in full path.

Specification example
add.class.path=C:\usrFunc\usrFunc.jar
In above-mentioned specification example, storage destination of external jar is specified in "C:\usrFunc\usrFunc.jar". It is referred at the time of executing transformation function jar file.

For details on usrconf.cfg, see "14.2 usrconf.cfg (Option definition file for Java application)" in "Application Server Definition Reference Guide".