1.

What are the basic SCR Annotations for OSGI component creation?

Answer»

The FOLLOWING are the BASIC SCR annotations for constructing an OSGi COMPONENT or service:

@Component — this attribute indicates that the class is a component.

@Service – specifies the service interface that the component provides.

@Reference — injects a reference to service into a component.

@Property — DEFINES a class property.



Discussion

No Comment Found