Knopflerfish OSGi 6.0.0

org.osgi.service.remoteserviceadmin
Interface ExportReference


@ProviderType
public interface ExportReference

An Export Reference associates a service with a local endpoint. The Export Reference can be used to reference an exported service. When the service is no longer exported, all methods must return null.

Author:
$Id: c6b452b40c0356b3c5a9f4b0a1e0654512733494 $
ThreadSafe

Method Summary
 EndpointDescription getExportedEndpoint()
          Return the Endpoint Description for the local endpoint.
 ServiceReference<?> getExportedService()
          Return the service being exported.
 

Method Detail

getExportedService

ServiceReference<?> getExportedService()
Return the service being exported.

Returns:
The service being exported. Must be null when the service is no longer exported.

getExportedEndpoint

EndpointDescription getExportedEndpoint()
Return the Endpoint Description for the local endpoint.

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

Knopflerfish OSGi 6.0.0