On Wed, Jul 9, 2008 at 2:57 PM, Georg Ragaller <[EMAIL PROTECTED]> wrote:
> Why not use the Service Provider mechanism from the JRE? > > http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Service%20Provider > > Up to 1.5 the API is unfortunately not public > (sun.misc.Service#providers(Class)), but starting with 1.6 it is: > > http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html > > The 1.5 implementation of the API can easily be mimiced, it's about 50 > lines, I've already done this in a project of mine. Yeah, this sounds like a good way... Any chance you could contribute that code (provided you have not peeked at the Sun solution and triggering all kind of licensing issues), as I don't want to depend on sun.misc classes... Cheers Niclas _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

