Adobe
9A0-384 · Question #51
Which statement about the usage of declarative services while creating an OSGi component is true?
The correct answer is C. ©Component annotation is the only required annotation and missing which will NOT declare the. annotations.html
OSGi Services and Sling Servlets (6.0)
Question
Which statement about the usage of declarative services while creating an OSGi component is true?
Options
- A©Property annotation is used to reference to other services from the component by component
- B©Reference annotation is optional and used to define properties available to the component
- C©Component annotation is the only required annotation and missing which will NOT declare the
- D©Service annotation is required and describes which service Interface Is served by the
How the community answered
(40 responses)- A5% (2)
- B15% (6)
- C75% (30)
- D5% (2)
Explanation
annotations.html
Topics
#OSGi declarative services#SCR annotations#@Component#@Service
Community Discussion
No community discussion yet for this question.