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

java.lang.Object
  extended by org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin

public class RemoteServiceAdmin
extends java.lang.Object

ECF implementation of OSGI 4.2 Remote Service Admin service. This service can be used by topology managers to to export and/or import remote services with any ECF container that implements the ECF remote service API.


Nested Class Summary
protected  class RemoteServiceAdmin.ProxyClassLoader
           
 class RemoteServiceAdmin.RemoteServiceAdminEvent
           
 
Field Summary
static java.lang.String SERVICE_PROP
           
 
Constructor Summary
RemoteServiceAdmin(org.osgi.framework.Bundle clientBundle)
           
 
Method Summary
 void close()
           
 java.util.Collection<org.osgi.service.remoteserviceadmin.ExportRegistration> exportService(org.osgi.framework.ServiceReference serviceReference, java.util.Map<java.lang.String,?> overridingProperties)
           
protected  IConsumerContainerSelector getConsumerContainerSelector()
           
 java.util.Collection<org.osgi.service.remoteserviceadmin.ExportReference> getExportedServices()
           
protected  IHostContainerSelector getHostContainerSelector()
           
 java.util.Collection<org.osgi.service.remoteserviceadmin.ImportReference> getImportedEndpoints()
           
 org.osgi.service.remoteserviceadmin.ImportRegistration importService(org.osgi.service.remoteserviceadmin.EndpointDescription endpointDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_PROP

public static final java.lang.String SERVICE_PROP
See Also:
Constant Field Values
Constructor Detail

RemoteServiceAdmin

public RemoteServiceAdmin(org.osgi.framework.Bundle clientBundle)
Method Detail

exportService

public java.util.Collection<org.osgi.service.remoteserviceadmin.ExportRegistration> exportService(org.osgi.framework.ServiceReference serviceReference,
                                                                                                  java.util.Map<java.lang.String,?> overridingProperties)

importService

public org.osgi.service.remoteserviceadmin.ImportRegistration importService(org.osgi.service.remoteserviceadmin.EndpointDescription endpointDescription)

getExportedServices

public java.util.Collection<org.osgi.service.remoteserviceadmin.ExportReference> getExportedServices()

getImportedEndpoints

public java.util.Collection<org.osgi.service.remoteserviceadmin.ImportReference> getImportedEndpoints()

getHostContainerSelector

protected IHostContainerSelector getHostContainerSelector()

getConsumerContainerSelector

protected IConsumerContainerSelector getConsumerContainerSelector()

close

public void close()