A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service for other bundles.
Which two options are necessary to ensure that the other bundles can reference that OSGi service? (Choose two.)
A. The bundles consuming the service need to import the fully qualified name of the service interface.
B. The service needs to correctly declare metatype information.
C. The bundle providing the service needs to contain a whitelist of allowed consumer bundles.
D. The bundle providing the service needs to contain an adequate SCR descriptor file.
E. The bundle providing the service needs to export the java package of the service interface.
A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service for other bundles
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service for other bundles
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!