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

Reply via email to