OSGi Service Access

Accessing an OSGi service depends on the type of code (e.g., Spring Bean, OSGi component, etc.) accessing it and the code’s application context.

Accessing CodeService Access Method
Service Builder code (a Spring Bean) in the service’s application contextan @BeanReference
Service Builder code (a Spring Bean) outside the service’s application contextan @ServiceReference
A class in a WAR outside the service’s application contexta ServiceTracker
An OSGi component outside the service’s application contextan @Reference
« Classes Moved from portal-service.jarIntroduction to Front-End »
Was this article helpful?
0 out of 0 found this helpful