?? ImportReference
@ProviderType
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
.-
????
??????????Return the Endpoint Description for the remote endpoint.org.osgi.framework.ServiceReference<?>
Return the Service Reference for the proxy for the endpoint.
-
??????
-
getImportedService
org.osgi.framework.ServiceReference<?> getImportedService()Return the Service Reference for the proxy for the endpoint.- ??:
- 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.- ??:
- The Endpoint Description for the remote endpoint. Must be
null
when the service is no longer imported.
-