I don't see any way this can be accomplished outside of using the R6 service scopes. Perhaps if we knew the reason you need to know this information then we could come up with a different solution on R5.
Tom From: David Bosschaert <[email protected]> To: OSGi Developer Mail List <[email protected]>, Date: 08/19/2013 01:10 PM Subject: [osgi-dev] Can I find out in a Service Registry Hook that the service is implemented via a Service Factory? Sent by: [email protected] Hi all, Is there a way to find out in OSGi Core R5 in a Service Registry Hook (EventListenerHook or FindHook) whether the Service Reference represents a Service Factory? I guess in R6 I can read this off the service.scope property, but is there any way in R4.3/R5 to figure this out? Cheers, David_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
<<inline: graycol.gif>>
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
