Which two options are necessary to ensure that the other bundles can reference that OSGi service?

A developer is working on a complex project with multiple bundles. One bundle provides an OSGiservice 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 bundle providing the service needs to contain an adequate SCR descriptor file.
C . The bundle providing the service needs to export the java package of the service
interface.

D . The bundle providing the service needs to contain a whitelist of allowed consumer bundles.
E . The service needs to correctly declare metatype information.

Answer: A,C

Latest AD0-E116 Dumps Valid Version with 94 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments