Chapter 17. CDI Integration

17.1. JBoss BPM Suite with CDI Integration

Apart from the API based approach, JBoss BPM Suite 6 also provides the Context and Dependency Injection (CDI) to build your custom applications. As the service modules in JBoss BPM Suite 6 are now grouped with their framework dependencies, you can build systems that can be consumed irrespective of the framework used. This grouping of individual modules with a framework gives you the freedom to choose a suitable option for your application.
The jbpm-services-cdi module is designed with CDI framework for CDI containers. It provides CDI wrappers on top of the core BPM Suite services.
JBoss BPM Suite 6 provides the following set of services, available for injection in any other CDI bean:
  • DeploymentService
  • ProcessService
  • UserTaskService
  • RuntimeDataService
  • DefinitionService