Top Description Methods
org.osgi.service.remoteserviceadmin

public Interface ImportReference

Annotations
@ProviderType
Imports
org.osgi.annotation.versioning.ProviderType, org.osgi.framework.ServiceReference

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: e94afd28cf670b9558aed85f5345e798746aa902 $

Method Summary

Modifier and TypeMethod and Description
public EndpointDescription

Returns:

The Endpoint Description for the remote endpoint. Must be null when the service is no longer imported.
getImportedEndpoint
()

Return the Endpoint Description for the remote endpoint.

public ServiceReference<?>

Returns:

The Service Reference to the proxy for the endpoint. Must be null when the service is no longer imported.
getImportedService
()

Return the Service Reference for the proxy for the endpoint.

Method Detail

getImportedEndpointback to summary
public EndpointDescription getImportedEndpoint()

Return the Endpoint Description for the remote endpoint.

Returns:EndpointDescription

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

getImportedServiceback to summary
public ServiceReference<?> getImportedService()

Return the Service Reference for the proxy for the endpoint.

Returns:ServiceReference<?>

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