5.1.1 Mapping Service Name to Java Classes

The service name is the value used by the SERVICE keyword. This name is used in a keyword lookup on the service.properties file in the system subdirectory. The string "service." is prefixed to the service name and the Java class that will supply the service is located and loaded. This loaded class then receives the future commands, until it is unloaded and a new service is loaded.

Example

 

USE BUILTIN(JSM_COMMAND) WITH_ARGS('SERVICE_LOAD SERVICE(FTPService)') TO_GET(#JSMSTS #JSMMSG)

 

The service FTPService is used by the JSM server to locate the Java class com.acme.jsm.service.FTPService.

Example

 

service.FTPService=com.acme.jsm.service.FTPService

service.XMLParserService=com.acme.jsm.service.XMLParserService

service.POP3MailService=com.acme.jsm.service.POP3MailService