Book Image

jBPM6 Developer Guide

Book Image

jBPM6 Developer Guide

Overview of this book

Table of Contents (21 chapters)
jBPM6 Developer Guide
Credits
About the Author
Acknowledgments
About the Author
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The different implementations available


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...