jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: MicroKernel.getInstance
Date Wed, 11 Apr 2012 10:09:17 GMT
On 2012-04-11 10:00, Thomas Mueller wrote:
> Hi,
>
> We plan to support multiple MK implementations. I think we need to have a
> pluggable solution, a solution that does not require to re-compile the
> program just to be able to use a different MK implementation. Also, I
> would prefer a solution that doesn't require a configuration file
> (repository.xml) or the *need* to use OSGi or JNDI (but use OSGi if
> available).
>
> What about:
>
> // replacement for MicroKernelFactory
> // uses the Java ServiceLoader or OSGi if available
> class MicroKernelManagerFactory {
>    MicroKernelManager getManager(String uri);
> }
> ...

Again (and yes, that's "just" about naming): please please do not call 
things "uri" which are not.

Best regards, Julian

Mime
View raw message