Some things might cause problems in an OSGi environment like
- dependencies from the api to the impl (@see
First task is to create a valid OSGi bundle out of the Activiti jar file. I believe this would include specification of the API packages. And maybe some lifecycle methods that could delegate to ProcessEngines.init and ProcessEngines.destroy.
What interface/object would be published? A single ProcessEngine object?
I would like this to be done as a separate module called activiti-osgi. The work should be presented on a branch called https://svn.codehaus.org/activiti/activiti/branches/osgi The goal is to show in a unit test that osgi-activiti-usage bundle would be able to access the services offered from the activiti-osgi bundle.