<?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 5.17 Engine - Dynamically Inject Configurations in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/5-17-engine-dynamically-inject-configurations/m-p/192974#M146104</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 want to use the new activiti 5.17. I understand the rest component is dependent on spring mvc, but is also dependent upon engine initialization because of auto-wiring of formService bean etc..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way we can decouple activiti engine initialization and rest services initialization, earlier the restlet servlet wasn't dependent on engine and we could initialize them separately. The reason to do so is we want to pass some parameters from our running application to engine initialization and hence we do it when the web-application is up and running(engine using container of our web-app), but with spring mvc all beans need to be initialized at start-up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also there is no concept of lazy loading of beans, so all beans have to be initialized at start-up and can only take static resources ( properties ) as input, anyway to dynamically inject information such as db params etc..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;solanki&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 18:03:30 GMT</pubDate>
    <dc:creator>solanki</dc:creator>
    <dc:date>2015-01-27T18:03:30Z</dc:date>
    <item>
      <title>5.17 Engine - Dynamically Inject Configurations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/5-17-engine-dynamically-inject-configurations/m-p/192974#M146104</link>
      <description>Hi, I want to use the new activiti 5.17. I understand the rest component is dependent on spring mvc, but is also dependent upon engine initialization because of auto-wiring of formService bean etc..Is there a way we can decouple activiti engine initialization and rest services initialization, earlie</description>
      <pubDate>Tue, 27 Jan 2015 18:03:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/5-17-engine-dynamically-inject-configurations/m-p/192974#M146104</guid>
      <dc:creator>solanki</dc:creator>
      <dc:date>2015-01-27T18:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: 5.17 Engine - Dynamically Inject Configurations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/5-17-engine-dynamically-inject-configurations/m-p/192975#M146105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, you would need to hook into the Rest app Configuration classes. The Activiti Engine is initialized there so it can be injected into other beans. So you would need to add your parameters to the Configuration class to make it work. Just copy the activiti-webapp-rest2 application and customize the following class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-webapp-rest2/src/main/java/org/activiti/rest/conf/ActivitiEngineConfiguration.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-webapp-rest2/src/main/java/org/activiti/rest/conf/ActivitiEngineConfiguration.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&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>Wed, 28 Jan 2015 18:16:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/5-17-engine-dynamically-inject-configurations/m-p/192975#M146105</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-01-28T18:16:41Z</dc:date>
    </item>
  </channel>
</rss>

