I believe this only applies to code running in an OSGi bundle. This is to 
support packaging OSGi-unware code in a bundle.

But it is possible for a JNDI implementation to support calls from outside 
the OSGi framework to JNDI code inside the framework. However this is 
certainly not required by the OSGi spec. Life cycle issues would also be a 
problem.

-- 

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[email protected]

office: +1 386 848 1781
mobile: +1 386 848 3788





From:   Mike Wilson <[email protected]>
To:     <[email protected]>, 
Date:   2012/12/03 08:54
Subject:        [osgi-dev] does OSGI JNDI allow coexistence with JNDI 
calls from      non-OSGI code?
Sent by:        [email protected]



Reading chapter 126 of the OSGI Enterprise Release 5 
specification, I see mentions of compatibility with the
traditional JNDI programming model, and with OSGI-unaware
code.

Does this only apply to code running inside an OSGI bundle?

Or, should an OSGI JNDI implementation also support JNDI
calls being made from OSGI-unaware code from *outside* the
OSGI container but within the same JVM, f ex when the 
container is embedded inside an application?

[I've asked the same question on SO:
http://stackoverflow.com/questions/13682882/does-osgi-jndi-allow-coexistence

-with-jndi-calls-from-non-osgi-code
but later found this list which seems like a better suit
for the subject. Sorry about the double post.]

Best regards
Mike Wilson

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to