<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JavaDelegate - obtaining a reference to a spring bean in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/javadelegate-obtaining-a-reference-to-a-spring-bean/m-p/167391#M120914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am a developer on a large scale spring mvc application. This project is a multi module Maven application deploying as an EAR. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are interested in integrating Activiti within this project.&amp;nbsp; As a starting point we want to deploy Activity as an embedded process and through a single serviceTask, call a simple business service within our application that is described in a spring bean. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To support this task we have created a JavaDelegate class and have successfully passed processVariables as part of the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;runtimeService.startProcessInstanceByKey().&amp;nbsp; The JavaDelegate class is coded to capture the required variables from the DelegateExecution object and are used as parameters in a method exposed by the simple business service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our problem is we are having a hard time getting&amp;nbsp; a reference to this simple business service which is wired throughout our application as a spring bean.&amp;nbsp; Is there a tutorial or a reference that can describe all of the working parts (spring-config.xml, bpmn20.xml and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JavaDelegate class) to enable our JavaDelegate to reference this service bean or can someone provide some insight in resolving this issue?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2014 20:18:34 GMT</pubDate>
    <dc:creator>dva-developer</dc:creator>
    <dc:date>2014-05-06T20:18:34Z</dc:date>
    <item>
      <title>JavaDelegate - obtaining a reference to a spring bean</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javadelegate-obtaining-a-reference-to-a-spring-bean/m-p/167391#M120914</link>
      <description>I am a developer on a large scale spring mvc application. This project is a multi module Maven application deploying as an EAR. We are interested in integrating Activiti within this project.&amp;nbsp; As a starting point we want to deploy Activity as an embedded process and through a single serviceTask, call</description>
      <pubDate>Tue, 06 May 2014 20:18:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javadelegate-obtaining-a-reference-to-a-spring-bean/m-p/167391#M120914</guid>
      <dc:creator>dva-developer</dc:creator>
      <dc:date>2014-05-06T20:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: JavaDelegate - obtaining a reference to a spring bean</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javadelegate-obtaining-a-reference-to-a-spring-bean/m-p/167392#M120915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thing you have read &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#springintegration" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#springintegration&lt;/A&gt;&lt;SPAN&gt; already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is another example in activiti sources&amp;nbsp; (jUnit test - with config and process definition)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.spring.test.servicetask.ServiceTaskSpringDelegationTest#testDelegateExpression&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 07:07:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javadelegate-obtaining-a-reference-to-a-spring-bean/m-p/167392#M120915</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-05-07T07:07:48Z</dc:date>
    </item>
  </channel>
</rss>

