-
Book Overview & Buying
-
Table Of Contents
jBPM6 Developer Guide - Third Edition
By :
The RuntimeManager and RuntimeEngine are interfaces that can be implemented in any way a specific domain requires. There is no correct way of using the runtime managers, because the specifics of what your organization is trying to accomplish will determine whether a KIE session should be shared between different processes or not. Nevertheless, the jBPM6 project provides a number of implementations for the most common situations.
Depending on which implementation of the runtime manager we use, we will need to request a RuntimeEngine instance with different parameters. The runtime manager provides the getRuntimeEngine method to obtain a RuntimeEngine instance using a Context object as a parameter. This Context object will have the responsibility of identifying the actual instance of the KIE session and other configuration components for our runtime that we need for each different context.
The following implementations of the RuntimeManager interface are...
Change the font size
Change margin width
Change background colour