|
OSGi™ Core Release 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.osgi.dto.DTO
org.osgi.framework.dto.ServiceReferenceDTO
public class 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).
| Field Summary | |
|---|---|
long |
bundle
The id of the bundle that registered the service. |
long |
id
The id of the service. |
Map<String,Object> |
properties
The properties for the service. |
long[] |
usingBundles
The ids of the bundles that are using the service. |
| Constructor Summary | |
|---|---|
ServiceReferenceDTO()
|
|
| Method Summary |
|---|
| Methods inherited from class org.osgi.dto.DTO |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public long id
Constants.SERVICE_IDpublic long bundle
ServiceReference.getBundle()public Map<String,Object> properties
ServiceReference.getProperty(String)public long[] usingBundles
ServiceReference.getUsingBundles()| Constructor Detail |
|---|
public ServiceReferenceDTO()
|
OSGi™ Core Release 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||