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人がこの記事が役に立ったと言っています