Class ServiceReferenceDTO

java.lang.Object
org.osgi.dto.DTO
org.osgi.framework.dto.ServiceReferenceDTO

public class ServiceReferenceDTO extends DTO
Data Transfer Object for a ServiceReference.

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).