Hi,

Am Montag, den 13.12.2010, 13:28 +0100 schrieb Bertrand Delacretaz: 
> On Mon, Dec 13, 2010 at 12:58 PM, Carsten Ziegeler <[email protected]> 
> wrote:
> > Felix Meschberger  wrote
> >
> >> I start wondering whether we could implement extender pattern support
> >> for the JCR RepositoryFactory ?
> >>
> >> This extender would check all bundles for the
> >> "META-INF/services/javax.jcr.RepositoryFactory" file and register the
> >> RepositoryFactory instances internally.
> >>
> >> Upon factory configuration the registered factories would be presented
> >> the configuration properties and the first repository returned by one of
> >> the factories would then be registered as the Repository service for
> >> this configuration.
> >>
> >
> > This sounds interesting, but what about the parameters passed into the
> > javax.jcr.RepositoryFactory? Would we rely on default props?
> 
> IIUC what Felix means is that, once the various RepositoryFactory are
> registered, you need to create an OSGi config that one of them
> understands. That config is passed to all registered
> RepositoryFactory, and the first one that returns a Repository wins.

Exactly.

Regards
Felix

> 
> -Bertrand


Reply via email to