...
Anchor | ||||
---|---|---|---|---|
|
scr.component
The scr.component
tag is the only required tag. If this tag is not declared in the Java class comment, the class is not declared as a component.
...
Anchor | ||||
---|---|---|---|---|
|
scr.property
The scr.property
tag defines properties which are made available to the component through the ComponentContext.getProperties()
method. These tags are not strictly required but may be used by components to defined initial configuration. Additionally properties may be set here to identify the component if it is registered as a service, for example the service.description
and service.vendor
properties.
...
Anchor | ||||
---|---|---|---|---|
|
scr.service
The scr.service
tag defines whether and which service interfaces are provided by the component.
...
Anchor | ||||
---|---|---|---|---|
|
scr.reference
The scr.reference
tag defines references to other services made available to the component by the Service Component Runtime. This tag
...