Posted On: Nov 17, 2022
The Basic SCR Annotation used for developing a component or service in OSGi is listed and explained below:
@Service indicates the service interface that is provided by the component.
@Property indicates a property that can be used in the class.
@Reference injects a service into the component.
@Component defines the class as a component.
Never Miss an Articles from us.