org.eclipse.ecf.osgi.services.remoteserviceadmin
Class RemoteServiceAdmin.ImportReference

java.lang.Object
  extended by org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.ImportReference
All Implemented Interfaces:
ImportReference
Enclosing class:
RemoteServiceAdmin

public class RemoteServiceAdmin.ImportReference
extends java.lang.Object
implements ImportReference

Since:
4.2

Method Summary
 ID getContainerID()
           
 EndpointDescription getImportedEndpoint()
          Return the Endpoint Description for the remote endpoint.
 org.osgi.framework.ServiceReference getImportedService()
          Return the Service Reference for the proxy for the endpoint.
 long getRemoteServiceId()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getContainerID

public ID getContainerID()

getRemoteServiceId

public long getRemoteServiceId()

getImportedService

public org.osgi.framework.ServiceReference getImportedService()
Description copied from interface: ImportReference
Return the Service Reference for the proxy for the endpoint.

Specified by:
getImportedService in interface ImportReference
Returns:
The Service Reference to the proxy for the endpoint. Must be null when the service is no longer imported.

getImportedEndpoint

public EndpointDescription getImportedEndpoint()
Description copied from interface: ImportReference
Return the Endpoint Description for the remote endpoint.

Specified by:
getImportedEndpoint in interface ImportReference
Returns:
The Endpoint Description for the remote endpoint. Must be null when the service is no longer imported.