Chapter 4. Configuration and Services

Table of Contents

4.1. Services Container
4.2. Services
4.2.1. Persistence
4.2.2. Identity
4.2.3. Security
4.2.4. Human Task

This chapter introduces the services configuration infraestructure provided by Nova Bonita as well as main services included in this Milestone version.

4.1. Services Container

The Process Virtual Machine technology includes a services container allowing the injection of services and objets that will be leveraged during workflow definition and execution. Objects and services required in Bonita are defined through a XML file. A dedicated parser and wiring framework in the Process Virtual Machine is in charge of creating those objects. Security, identity, persistence, notifications, human task and timers are examples of pluggable services.

This services container (aka IoC container) can be configured through a configuration file. A default configuration file is included in the package (environment.xml).

Currently, following objects are required for the execution environment:

  • deployer object at application context level

  • instanceRepository object at application context level

  • taskRepository object at application context level

  • processRepository object at application context level

  • identityService object at application context level

  • PersistenceService.NAME is also required at block level

You will find an example of a particular configuration file (environment.xml) under the "conf" directory of Nova Bonita distribution.