Package org.osgi.framework.dto
Class ServiceReferenceDTO
java.lang.Object
org.osgi.dto.DTO
org.osgi.framework.dto.ServiceReferenceDTO
Data Transfer Object for a ServiceReference.
 
 
 ServiceReferenceDTOs for all registered services can be obtained from
 a FrameworkDTO. An installed 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).
- Author:
 - $Id: ServiceReferenceDTO.java 1614569 2014-07-30 07:22:32Z cziegeler $
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe id of the bundle that registered the service.longThe id of the service.The properties for the service.long[]The ids of the bundles that are using the service. - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
id
public long idThe id of the service.- See Also:
 
 - 
bundle
public long bundleThe id of the bundle that registered the service.- See Also:
 
 - 
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.- See Also:
 
 - 
usingBundles
public long[] usingBundlesThe ids of the bundles that are using the service.- See Also:
 
 
 - 
 - 
Constructor Details
- 
ServiceReferenceDTO
public ServiceReferenceDTO() 
 -