Community
Participate
Working Groups
According to specification, Gemini Web has to register the following services: - Initial Context Factory Builder - Object Factory Builder - URL Context Provider
Is it a requirement that Gemini Web does not have a hard dependency on OSGi JNDI or Gemini Naming? I think it should be.
(In reply to comment #1) > Is it a requirement that Gemini Web does not have a hard dependency on OSGi > JNDI or Gemini Naming? I think it should be. It will not depend neither on OSGi JNDI nor on Gemini Naming. GW will expose services with the corresponding interfaces: - javax.naming.spi.InitialContextFactoryBuilder - javax.naming.spi.ObjectFactoryBuilder - javax.naming.spi.ObjectFactory Patch will be attached so we can comment on it.
Perfect. Thanks.
Created attachment 205386 [details] Patch proposal The interesting part is: if (OSGI_NAMING_ENABLED.equals(useNaming)) { - //TODO Integration with OSGi JNDI will be covered in - //https://bugs.eclipse.org/bugs/show_bug.cgi?id=361144 + registerInitialContextFactory(); + registerJavaURLContextFactory(); + registerObjectFactoryBuilder(); }
Comment on attachment 205386 [details] Patch proposal Looks ok to me.
Change is tested, committed and pushed. Commit ID: 683e8e18b2464fb429fbf4f96cef4660177ee273