Hi
I'm trying to deploy a JNDI provider in OSGi and I'm kinda stuck on the
'jndi.properties'
discovery mechanism. This file is supposed to be in the default package (the
root of the
classloader).
How can a bundle export a resource from this package ?
Export-Package: . ??
Exporting from an explicit package is easy, but this one doesn't seem
covered by the spec.
Of course, using the preferred way of accessing an InitialContext, i.e
Context ic = new InitialContext(env);
does work as I can configure the InitialContextFactory explicitely, but I'd
like to support
the more sloppy new InitialContext() approach too.
Any ideas ?
        /jog

Reply via email to