<?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 Re: Getting application context from JavaDelegate in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-application-context-from-javadelegate/m-p/181324#M134454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Or use the SpringProcessEngineConfiguration. If you then use 'delegateExpression' with the bean name, it looks up that Spring bean.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Oct 2015 08:42:01 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-10-05T08:42:01Z</dc:date>
    <item>
      <title>Getting application context from JavaDelegate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-application-context-from-javadelegate/m-p/181322#M134452</link>
      <description>Hello,My Activiti runs as webapp on Tomcat. I need to get its ApplicationContext in JavaDelegate, which is invoked in some process instance inside the Activiti. How should I do it?</description>
      <pubDate>Thu, 01 Oct 2015 07:14:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-application-context-from-javadelegate/m-p/181322#M134452</guid>
      <dc:creator>lossril</dc:creator>
      <dc:date>2015-10-01T07:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting application context from JavaDelegate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-application-context-from-javadelegate/m-p/181323#M134453</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;SPAN&gt;A solution could be to create a spring bean which implements ApplicationContextAware,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then just inject this bean reference into your java delegate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.activiti.org/userguide/#serviceTaskFieldInjection" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#serviceTaskFieldInjection&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 08:46:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-application-context-from-javadelegate/m-p/181323#M134453</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-10-03T08:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting application context from JavaDelegate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-application-context-from-javadelegate/m-p/181324#M134454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Or use the SpringProcessEngineConfiguration. If you then use 'delegateExpression' with the bean name, it looks up that Spring bean.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 08:42:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-application-context-from-javadelegate/m-p/181324#M134454</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-05T08:42:01Z</dc:date>
    </item>
  </channel>
</rss>

