<?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: JavaDelegate / @Scope(SCOPE_PROTOTYPE) doesn't work :( in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/javadelegate-scope-scope-prototype-doesn-t-work/m-p/236551#M189681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your JavaDelegate is not defined in spring context, and your spring context doesn't use component scan. I don't think your java delegate is spring bean. Probably it's called by class name. For this case Activiti User Guide explains what you see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;8.5.3. Java Service Task&lt;BR /&gt;…&lt;BR /&gt;Implementation&lt;BR /&gt;…&lt;BR /&gt;Note: there will be only one instance of that Java class created for the serviceTask it is defined on. All process-instances share the same class instance that will be used to call execute(DelegateExecution). This means that the class must not use any member variables and must be thread-safe, since it can be executed simultaneously from different threads. This also influences the way Field injection is handled.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 16:34:32 GMT</pubDate>
    <dc:creator>warper</dc:creator>
    <dc:date>2016-09-28T16:34:32Z</dc:date>
    <item>
      <title>JavaDelegate / @Scope(SCOPE_PROTOTYPE) doesn't work :(</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javadelegate-scope-scope-prototype-doesn-t-work/m-p/236550#M189680</link>
      <description>I'm using activiti-explorer project, I added @Scope(SCOPE_PROTOTYPE) annotation in my JavaDelegate class but there no effect !&amp;nbsp;&amp;nbsp; did i miss something ? should i add some configuration in my activiti-custom-context.xml file ?Regard,</description>
      <pubDate>Wed, 28 Sep 2016 14:22:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javadelegate-scope-scope-prototype-doesn-t-work/m-p/236550#M189680</guid>
      <dc:creator>pbreak75</dc:creator>
      <dc:date>2016-09-28T14:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: JavaDelegate / @Scope(SCOPE_PROTOTYPE) doesn't work :(</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javadelegate-scope-scope-prototype-doesn-t-work/m-p/236551#M189681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your JavaDelegate is not defined in spring context, and your spring context doesn't use component scan. I don't think your java delegate is spring bean. Probably it's called by class name. For this case Activiti User Guide explains what you see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;8.5.3. Java Service Task&lt;BR /&gt;…&lt;BR /&gt;Implementation&lt;BR /&gt;…&lt;BR /&gt;Note: there will be only one instance of that Java class created for the serviceTask it is defined on. All process-instances share the same class instance that will be used to call execute(DelegateExecution). This means that the class must not use any member variables and must be thread-safe, since it can be executed simultaneously from different threads. This also influences the way Field injection is handled.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 16:34:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javadelegate-scope-scope-prototype-doesn-t-work/m-p/236551#M189681</guid>
      <dc:creator>warper</dc:creator>
      <dc:date>2016-09-28T16:34:32Z</dc:date>
    </item>
  </channel>
</rss>

