Using the runtime service
The runtime service, which implements the com.ibm.hats.runtime.services.IRuntimeService
interface, provides methods for interacting with the ZIETrans runtime.
Most of the methods provided on this service should not be called
directly, but are made public so other components of the ZIETrans runtime
can communicate. The runtime service object for an application should
be retrieved from the service manager. Sample
code to retrieve the runtime service:
IRuntimeService runtimeService =
serviceManager.getRuntimeService();
The following methods can be called by the runtime service:
Method | Description |
---|---|
getConnectionManager() | Returns the default ConnMgr instance. |
getServiceManager() | Returns the service manager that instantiated this service. |