<?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 Discovering Cycle plugins in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/discovering-cycle-plugins/m-p/26936#M13475</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;SPAN&gt;Currently Cycle is automatically discovering plugins by scanning classpath for classes with annotations. This is really cool, but it's pretty hard to use in OSGi environment. The problem is that methods used by scannotation library do not work in OSGi, as it has dynamic class environment. I have to embed all plugins in war with activiti-rest to make it working. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you think it would be possible to create additional mechanism for plugin discovery (of course still using scannotation method)? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even something simplistic as having some singleton storing plugins would do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course it would be nicer to have some decent mechanism such as putting plugin class names in specified files - such as META-INF/org/activiti/cycle/plugin - and then getting them by getResources method of classloader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what do you think?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maciek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jan 2011 16:55:59 GMT</pubDate>
    <dc:creator>mproch</dc:creator>
    <dc:date>2011-01-20T16:55:59Z</dc:date>
    <item>
      <title>Discovering Cycle plugins</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/discovering-cycle-plugins/m-p/26936#M13475</link>
      <description>Hello, Currently Cycle is automatically discovering plugins by scanning classpath for classes with annotations. This is really cool, but it's pretty hard to use in OSGi environment. The problem is that methods used by scannotation library do not work in OSGi, as it has dynamic class environment. I h</description>
      <pubDate>Thu, 20 Jan 2011 16:55:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/discovering-cycle-plugins/m-p/26936#M13475</guid>
      <dc:creator>mproch</dc:creator>
      <dc:date>2011-01-20T16:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Discovering Cycle plugins</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/discovering-cycle-plugins/m-p/26937#M13476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Maciek.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general I don't have problems with that. We even have an open issue, that we want to have it more flexible (e.g. to install new plugi-ins during runtime). At the moment this is not our biggest priority, so I cannot promise yet, when it will be done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created an issue for it: &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-562" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-562&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 19:05:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/discovering-cycle-plugins/m-p/26937#M13476</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-01-20T19:05:08Z</dc:date>
    </item>
  </channel>
</rss>

