<?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 DelegateExpression not resolving in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/delegateexpression-not-resolving/m-p/186010#M139140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;before i get into a legthy explanation of my setup and problem, i made a jpeg that pretty much says it all. (Project-tree, files and error-log message).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cdR8Rest has a project dependency to cdR8 Processes with compile-time scope (gradle managed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use EJB or CDI-Bean to be called by activiti:delegateExpression, but it does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested if the beans are present in the context of the application, they are. Its just activiti that does not want to find them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not all to familliar with CDI, EJB, WIldfly and the least with activities core, to i thought before i spend another 4 hours fidling around with what i think probably has a trivial solution, i thought i#d leave this question here for the weekend &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;img&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://s29.postimg.org/tmiknudjb/problem.jpg" rel="nofollow noopener noreferrer"&gt;http://s29.postimg.org/tmiknudjb/problem.jpg&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/img&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BillDoor&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 11:45:43 GMT</pubDate>
    <dc:creator>billdoor</dc:creator>
    <dc:date>2014-10-03T11:45:43Z</dc:date>
    <item>
      <title>DelegateExpression not resolving</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delegateexpression-not-resolving/m-p/186010#M139140</link>
      <description>Hello,before i get into a legthy explanation of my setup and problem, i made a jpeg that pretty much says it all. (Project-tree, files and error-log message).cdR8Rest has a project dependency to cdR8 Processes with compile-time scope (gradle managed).I want to use EJB or CDI-Bean to be called by act</description>
      <pubDate>Fri, 03 Oct 2014 11:45:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delegateexpression-not-resolving/m-p/186010#M139140</guid>
      <dc:creator>billdoor</dc:creator>
      <dc:date>2014-10-03T11:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: DelegateExpression not resolving</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delegateexpression-not-resolving/m-p/186011#M139141</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;A JavaDelegate in Activiti is instantiated using reflection so no annotation will get processed on that class. You have to do a lookup of the EJB via the InitialContext instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 07:06:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delegateexpression-not-resolving/m-p/186011#M139141</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-10-06T07:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: DelegateExpression not resolving</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delegateexpression-not-resolving/m-p/186012#M139142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is instantiated using reflection if i use activiti:class="com.example.classname".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a whole component of activiti (activiti-cdi) that takes care of injection. The chapter "Contextual Process Execution with CDI" in the userguide states for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"…Activiti-cdi exposes CDI beans to activiti El, using a custom resolver. This makes it possible to reference beans from the process…"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is exactly what i need - in forumposts here i found during my research i also read that this "custom resolver" is in place for CDI beans out of the box - as opposed to EJB, which are not supported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What does this mean, if not what i am trying to do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the quick answer, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BillDoor&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 10:49:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delegateexpression-not-resolving/m-p/186012#M139142</guid>
      <dc:creator>billdoor</dc:creator>
      <dc:date>2014-10-06T10:49:54Z</dc:date>
    </item>
  </channel>
</rss>

