Yes. The service registry just holds the properties and the object. So you can retrieve a service that is based on private packages and even use it by means of reflection.
At least I am pretty sure it would work :-)

Christian

On 17.02.2014 10:58, Daniel McGreal wrote:
Hi,
If you declare the @Service to be exported via a class in a non-exported 
package, would it still be possible to get that class from the service registry 
by name?
Dan.

On 17 Feb 2014, at 09:55, Christian Schneider wrote:



--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

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

Reply via email to