The content of the project should be configured with Spring by importing the Spring configuration file from process execution support project.
The process execution support project contains a Spring configuration file which can be imported into a Spring configuration file which wishes to use the classes from process execution support project.
To import the beans, add an import tag which imports the file com.alpha.pineapple.process.execution-config.xml:
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> <!-- import process execution bean definitions. --> <import resource="com.alpha.pineapple.process.execution-config.xml"/> <!-- all remaining bean definitions. --> </beans>
Currently the com.alpha.pineapple.process.execution-config.xml contains the definition of these beans: