ServiceReferenceDTOs for all registered services can be obtained from
a FrameworkDTO. A ServiceReference can be adapted to a
ServiceReferenceDTO. A started Bundle can be adapted to provide a
ServiceReferenceDTO[] of the services registered by the Bundle. A
ServiceReferenceDTO obtained from a framework must convert service
property values which are not valid value types for DTOs to type
String using String.valueOf(Object).
| Modifier and Type | Field and Description |
|---|---|
| public long | bundle
The id of the bundle that registered the service. |
| public long | id
The id of the service. |
| public Map | properties
The properties for the service. |
| public long[] | usingBundles
The ids of the bundles that are using the service. |
| Access | Constructor and Description |
|---|---|
| public |
| bundle | back to summary |
|---|---|
| public long bundle The id of the bundle that registered the service.
| |
| id | back to summary |
|---|---|
| public long id The id of the service.
| |
| properties | back to summary |
|---|---|
| public Map<String, Object> properties The properties for the service. The value type must be a numerical type, Boolean, String, DTO or an array of any of the former.
| |
| usingBundles | back to summary |
|---|---|
| public long[] usingBundles The ids of the bundles that are using the service.
| |
| ServiceReferenceDTO | back to summary |
|---|---|
| public ServiceReferenceDTO() | |