cancel
Showing results for 
Search instead for 
Did you mean: 

Discovering Cycle plugins

mproch
Champ in-the-making
Champ in-the-making
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 have to embed all plugins in war with activiti-rest to make it working.

Do you think it would be possible to create additional mechanism for plugin discovery (of course still using scannotation method)?
Even something simplistic as having some singleton storing plugins would do.
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.

what do you think?
maciek
1 REPLY 1

bernd_ruecker
Champ in-the-making
Champ in-the-making
Hi Maciek.

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.

I created an issue for it: http://jira.codehaus.org/browse/ACT-562

Cheers
Bernd
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.