Posted On: Dec 22, 2020
The Basic SCR Annotation used for developing a component or service in OSGi are 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.