<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
                          http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd">

  <import resource="classpath:jbpm/configuration-template/local-emf-spring.xml" />

  <bean id="runtimeManager" class="org.kie.spring.factorybeans.RuntimeManagerFactoryBean" destroy-method="close">
    <property name="identifier" value="spring-rm"/>
    <property name="runtimeEnvironment" ref="runtimeEnvironment"/>
  </bean>

  <bean id="runtimeManagerTwo" class="org.kie.spring.factorybeans.RuntimeManagerFactoryBean" destroy-method="close">
    <property name="identifier" value="spring-rm"/>
    <property name="runtimeEnvironment" ref="runtimeEnvironment"/>
  </bean>
  <bean id="holderOne" class="org.kie.spring.jbpm.tools.RuntimeManagerHolder">
    <constructor-arg ref="runtimeManager" />
  </bean>

  <bean id="holderTwo" class="org.kie.spring.jbpm.tools.RuntimeManagerHolder">
    <constructor-arg ref="runtimeManager" />
  </bean>
</beans>
