Thomas Diesler [
http://community.jboss.org/people/thomas.diesler%40jboss.com] created the
discussion
"[JBAS-8599] Provide JNDI InitialContext as OSGi service"
To view the discussion, visit:
http://community.jboss.org/message/571051#571051
--------------------------------------------------------------
Jason sais
Are the dependencies of naming on OSGi necessary? It seems like these
services should be created by the osgi subsystem. Is the problem making
these optional?
I think its correct like this. The OSGi subsystem provides the OSGi
service registry. Subsystem Foo may choose to publish a service in that
registry which would then readily be available for installed bundles to
use. The OSGi subsystem does not need to know about Foo.
The dependency on org.jboss.as.osgi is there because Foo provides a
PASSIVE service which activates when the Framework comes up. If the
Framework was coming up eagerly a dependency on org.osgi.core would be
sufficient. You should see no performance impact due to these additional
services (i.e. only passive service registration)
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/571051#571051]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]