The PVM includes a framework to allow the injection of services and objets that will be leveraged during the workflow definition and execution. Objects and services required in Bonita are defined through an XML file. A dedicated parser and wiring framework in the PVM is in charge of creating those objects.
A default environment file (environment.xml) is provided in the installed package.
Currently, following objects are required for the execution environment :
deployer
instanceRepository
taskRepository
processRepository
processRepository
var.mappings (list of mappings for Bonita variable) that references others required objects such as: stringMatcherMapping and enumerationMatcherMapping, .....
Example of implementation classes for these objects are embedded into the bonita jar and defined into the environment.xml file.