<?xml version="1.0" encoding="ISO-8859-1"?>

<configuration
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
	xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

	<component>
    <key>org.exoplatform.services.workflow.WorkflowFormsService</key>
    <type>org.exoplatform.services.workflow.impl.jbpm.WorkflowFormsServiceImpl</type>
  </component>
  
  <component>
    <key>org.exoplatform.services.workflow.WorkflowFileDefinitionService</key>
    <type>org.exoplatform.services.workflow.impl.jbpm.WorkflowFileDefinitionServiceImpl</type>
  </component>

  <external-component-plugins>
		<target-component>org.exoplatform.services.workflow.WorkflowServiceContainer</target-component>	  
    <component-plugin>
      <name>deploy.predefined.processes</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.workflow.PredefinedProcessesPlugin</type>
      <init-params>
        <object-param>
          <name>predefined.processes</name>
          <description>load of default business processes</description>
          <object type="org.exoplatform.services.workflow.ProcessesConfig">
            <field name="processLocation"><string>war:/conf/bp</string></field>
            <field name="predefinedProcess">
              <collection type="java.util.HashSet">
                <value><string>/exo-ecms-ext-workflow-bp-jbpm-content-${project.version}.jar</string></value>
								<value><string>/exo-ecms-ext-workflow-bp-jbpm-payraise-${project.version}.jar</string></value>
                <value><string>/exo-ecms-ext-workflow-bp-jbpm-holiday-${project.version}.jar</string></value>                
              </collection>
            </field>
          </object>
        </object-param>
      </init-params>
    </component-plugin>	    
  </external-component-plugins>

</configuration>
