Hi Alessandro Clerezza uses the java.util.ServiceLoader functionality to enable to use of Clerezza outside of an OSGI environment.
This means that manager type components typically also have an static getInstance() method that uses the java.util.ServiceLoader to search for available implementations. The ServiceLoader can also be used by components to initialize dependencies to manager type components. As far as I know this can not be used to provide configurations to components. I used this way to allow some components of the Stanbol Entityhub to run outside an OSGI environment. On Thu, Apr 28, 2011 at 11:07 AM, Bertrand Delacretaz <[email protected]> wrote: > IMO, supporting non-OSGi environments outside of 1) and 2) is out of > scope for Stanbol, that would distract us from our primary goal. You'd > need to provide lifecycle, service registry, ConfigurationAdmin and a > number of other things that probably forget, that's a lot of work that > doesn't help fulfilling our own goals. +1 best Rupert -- | Rupert Westenthaler [email protected] | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen
