<?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">
	<bean id="osgi.container.WorkflowTaskRegistry" class="com.github.dynamicextensionsalfresco.workflow.activiti.DefaultWorkflowTaskRegistry" />

    <bean class="com.github.dynamicextensionsalfresco.workflow.activiti.WorkflowPostProcessor">
        <property name="workflowTaskRegistry" ref="osgi.container.WorkflowTaskRegistry"/>
        <property name="activitiBeanRegistry" ref="activitiBeanRegistry"/>
    </bean>
</beans>
<?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">
	<bean id="osgi.container.WorkflowTaskRegistry" class="com.github.dynamicextensionsalfresco.workflow.activiti.DefaultWorkflowTaskRegistry" />

    <bean class="com.github.dynamicextensionsalfresco.workflow.activiti.WorkflowPostProcessor">
        <property name="workflowTaskRegistry" ref="osgi.container.WorkflowTaskRegistry"/>
        <property name="activitiBeanRegistry" ref="activitiBeanRegistry"/>
    </bean>

    <bean class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
        <property name="beanNames">
            <list>
                <value>activitiCompleteTaskListener</value>
                <value>activitiCreateTaskListener</value>
            </list>
        </property>
    </bean>
</beans>
Create AOP proxies for generic activiti Task listeners. This allows extensions to advise (hook into) those events.
Create AOP proxies for generic activiti Task listeners.
This allows extensions to advise (hook into) those events.
