Skip to main content



      Home
Home » Eclipse Projects » Equinox » Reduce service visibility
Reduce service visibility [message #50159] Mon, 19 September 2005 03:45
Eclipse UserFriend
Originally posted by: schulz78.gmx.net

Hi,

I had a look at the new (interim) OSGi R4 specification. I know that
Service Permission is used as a filter for the visibility of Service per
bundle. However service permissions can only be granted per service
interface. I'm eager to know if this concept can be expanded to the case
where a special service implementation should be (in-)visible for a
bundle. More precisely:

Bundle A publishes a service interface I.
Bundle B implements I and registers it as a service S1.
Bundle C implements I as well and registers it as another service S2.
Bundle D has an appropriate permission and sees Service S1 from Bundle B
but not service S2 from Bundle C.
Bundle E has a permission for S2 and therefore sees Service S2 but not S1.

I know that filtering based on some service property is always possible.
But this is not transparent and access to a prohibited service
implementations is possible if a bundle tries to. Any hints?

Regards,
Sven
Previous Topic:R4 Declarative Services
Next Topic:Security
Goto Forum:
  


Current Time: Wed May 07 11:23:18 EDT 2025

Powered by FUDForum. Page generated in 0.03187 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top