A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service for other bundles

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
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

Post by answerhappygod »

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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply