Hi Jörn, I've been postponing working on the OSGi support for the BaseToolFactory, I am sorry. I managed to have some free time this week, so I can do it right now if you didn't start it already.
Also, before releasing 1.5.3, I would like to have the factory mechanism available in the Chunker. I will do it latter today. Thanks, William On Fri, Jul 13, 2012 at 4:43 AM, Jörn Kottmann <kottm...@gmail.com> wrote: > Hello, > > some tools now have custom factory support, there the user can > specify a class name of a factory class which will be used to configure > the component. > > The BaseToolFactory should use the ExtensionLoader to also support running > in an OSGi environment. But the BaseToolFactory defines a constructor where > an ArtifactProvider gets passed in. To make this easier I am proposing to > remove > this constructor and instead call some kind of initialize method to pass > in this > ArtifactProvider. > > In OSGi we cannot control the object creation of services we would like to > consume. > So it would need some work around to make that work. > > What do you think? > > Jörn >