<?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: Question about Member variables and Thead-safe of the custom in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/question-about-member-variables-and-thead-safe-of-the-custom/m-p/70036#M45115</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;Using member variables like "Expression expr" is perfect. When you want to get the value of this expression,&amp;nbsp; it will be thread safe. But the Expression script itself is only injected once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So when you do this for a String member variable. the String value is only injected once and it'll not be thread safe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So bottom line, if you use Expressions it's fine, no thread safety problems there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regard,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2011 08:20:05 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2011-05-20T08:20:05Z</dc:date>
    <item>
      <title>Question about Member variables and Thead-safe of the custom</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/question-about-member-variables-and-thead-safe-of-the-custom/m-p/70035#M45114</link>
      <description>In the user guide, there is the note that the class must not use any member variables for Thread-safe of the service task. However, if I need to have some input variables defined in a process definition, I must declare member variables such as “private Expression xxx” in the class. Thus, it means I</description>
      <pubDate>Thu, 19 May 2011 06:03:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/question-about-member-variables-and-thead-safe-of-the-custom/m-p/70035#M45114</guid>
      <dc:creator>sanghun</dc:creator>
      <dc:date>2011-05-19T06:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Member variables and Thead-safe of the custom</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/question-about-member-variables-and-thead-safe-of-the-custom/m-p/70036#M45115</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;Using member variables like "Expression expr" is perfect. When you want to get the value of this expression,&amp;nbsp; it will be thread safe. But the Expression script itself is only injected once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So when you do this for a String member variable. the String value is only injected once and it'll not be thread safe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So bottom line, if you use Expressions it's fine, no thread safety problems there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regard,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 08:20:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/question-about-member-variables-and-thead-safe-of-the-custom/m-p/70036#M45115</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-05-20T08:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Member variables and Thead-safe of the custom</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/question-about-member-variables-and-thead-safe-of-the-custom/m-p/70037#M45116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To summarize, you should evaluate the Expression against the DelegateExecution passed in the execute method, this will give you the input values of the service-task…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 13:48:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/question-about-member-variables-and-thead-safe-of-the-custom/m-p/70037#M45116</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-05-20T13:48:56Z</dc:date>
    </item>
  </channel>
</rss>

