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 »
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助