Also results in the automatic generation of service descriptor files (a.k.a.
META-INF/services).
| Modifier and Type | Method and Description |
|---|---|
| public String[] | |
| public String | |
| public Class | |
| public String | |
| public Class | uses()
A list of classes whose packages are inspected to calculate the
|
| public Class |
| attribute | back to summary |
|---|---|
| public String[] attribute() A list of attribute or directive names and values. Each string should be specified in the form:
osgi.serviceloader capability. Non-standard
osgi.serviceloader attributes will be included as service
properties to the published service.
| |
| effective | back to summary |
|---|---|
| public String effective() The effective time of the
Specifies the time the
If not specified, the | |
| register | back to summary |
|---|---|
| public Class The type to register as the provider.
If the annotation used on a package, then
The | |
| resolution | back to summary |
|---|---|
| public String resolution() The resolution policy of the A mandatory requirement forbids the bundle to resolve when this requirement is not satisfied; an optional requirement allows a bundle to resolve even if this requirement is not satisfied.
If not specified, the | |
| uses | back to summary |
|---|---|
| public Class A list of classes whose packages are inspected to calculate the
If not specified, the | |
| value | back to summary |
|---|---|
| public Class The service type.
| |