Knopflerfish OSGi 5.2.0

org.osgi.service.remoteserviceadmin
Interface ImportReference


public interface ImportReference

An Import Reference associates an active proxy service to a remote endpoint. The Import Reference can be used to reference an imported service. When the service is no longer imported, all methods must return null.

Author:
$Id: 6520fe480629836e0b4c77e9cac6d3a32ebc9be0 $
ThreadSafe
Consumers of this API must not implement this interface

Method Summary
 EndpointDescription getImportedEndpoint()
          Return the Endpoint Description for the remote endpoint.
 ServiceReference getImportedService()
          Return the Service Reference for the proxy for the endpoint.
 

Method Detail

getImportedService

ServiceReference getImportedService()
Return the Service Reference for the proxy for the endpoint.

Returns:
The Service Reference to the proxy for the endpoint. Must be null when the service is no longer imported.

getImportedEndpoint

EndpointDescription getImportedEndpoint()
Return the Endpoint Description for the remote endpoint.

Returns:
The Endpoint Description for the remote endpoint. Must be null when the service is no longer imported.

Knopflerfish OSGi 5.2.0