<?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 Why don't set ExecutionImpl in ELContext using putContext? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/why-don-t-set-executionimpl-in-elcontext-using-putcontext/m-p/36254#M19102</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 was browsing the EL-related code in Activiti, where a point came into my mind:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The ExecutionVariableElResolver class needs an instance of Execution for looking up variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, everytime an ELContext instance is needed, it is created with brand-new resolvers, so that execution can be set into them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(I know it is cached for each execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But instead of creating resolvers everytime (I think they are stateless, except for ExecutionVariableElResolver)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can set the execution in the ELContext using putContext method, and look it up in ExecutionVariableElResolver class using getContext method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a more logical place, imho, to keep the execution in the el context object model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And if any other resolvers need the execution instance in any way, is can be easier for them to access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Hamed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Oct 2010 09:04:47 GMT</pubDate>
    <dc:creator>iravanchi</dc:creator>
    <dc:date>2010-10-10T09:04:47Z</dc:date>
    <item>
      <title>Why don't set ExecutionImpl in ELContext using putContext?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-don-t-set-executionimpl-in-elcontext-using-putcontext/m-p/36254#M19102</link>
      <description>Hi,I was browsing the EL-related code in Activiti, where a point came into my mind:The ExecutionVariableElResolver class needs an instance of Execution for looking up variables.So, everytime an ELContext instance is needed, it is created with brand-new resolvers, so that execution can be set into th</description>
      <pubDate>Sun, 10 Oct 2010 09:04:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-don-t-set-executionimpl-in-elcontext-using-putcontext/m-p/36254#M19102</guid>
      <dc:creator>iravanchi</dc:creator>
      <dc:date>2010-10-10T09:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why don't set ExecutionImpl in ELContext using putContext?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-don-t-set-executionimpl-in-elcontext-using-putcontext/m-p/36255#M19103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for pointing that out, added it to Jira as improvement: &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-240" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-240&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 12:02:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-don-t-set-executionimpl-in-elcontext-using-putcontext/m-p/36255#M19103</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2010-10-12T12:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why don't set ExecutionImpl in ELContext using putContext?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-don-t-set-executionimpl-in-elcontext-using-putcontext/m-p/36256#M19104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're totally welcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I already like Activiti engine, and think it's great. And I like to make it better.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm totally willing to implement such improvements on the engine myself, and let you guys just check the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've already sent the agreement form to Tom two weeks ago, and haven't heard anything since.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 12:34:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-don-t-set-executionimpl-in-elcontext-using-putcontext/m-p/36256#M19104</guid>
      <dc:creator>iravanchi</dc:creator>
      <dc:date>2010-10-12T12:34:52Z</dc:date>
    </item>
  </channel>
</rss>

