Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, these commands are reserved:


SERVICE_LOAD

...

       SERVICE(servicename) TRACE(option) TRACE_NAME(name)
SERVICE_SET

...

        TRACE(*CLEAR)
SERVICE_GET

...

        PROPERTY(property)
SERVICE_RECLAIM
SERVICE_UNLOAD

The SERVICE_LOAD command instructs the JSM service thread to load and instantiate the specified service program. Only one service class is loaded at a time. The SERVICE_LOAD command is a good place for the Java service programmer to write the code to load default values being used with the current service.

...

The special PROPERTY values *SERVICE and *SERVICECLASS return the loaded service class name.

Example

   com.acme.property.messagetype=html
#
message.001=Service successfully loaded
message.002=Service successfully unloaded
message.003=Command is not supported :


The SERVICE_RECLAIM command allows an explicit garbage collection to be done.
You could use this command in conjugation with the JVM -Xcompactexplicitgc option which enables full compaction each time System.gc() is called.

...