public interface IRemoteServiceContainer
Modifier and Type | Method and Description |
---|---|
IContainer |
getContainer()
Get the container instance for this remote service container.
|
IRemoteServiceContainerAdapter |
getContainerAdapter()
Get the container adapter for this remote service container.
|
IRemoteService |
getRemoteService(java.lang.String serviceInterfaceClass)
Get the remote service for given serviceInterface class.
|
IRemoteService |
getRemoteService(java.lang.String targetLocation,
java.lang.String serviceInterfaceClass)
Get the remote service for given targetLocation and given serviceInterface class.
|
IRemoteService |
getRemoteService(java.lang.String targetLocation,
java.lang.String serviceInterfaceClass,
java.lang.String filter)
Get the remote service for given targetLocation and given serviceInterface class.
|
IContainer getContainer()
null
.null
.IRemoteServiceContainerAdapter getContainerAdapter()
null
getContainer()
.IRemoteService getRemoteService(java.lang.String targetLocation, java.lang.String serviceInterfaceClass, java.lang.String filter) throws ContainerConnectException, org.osgi.framework.InvalidSyntaxException
targetLocation
- the targetLocation to connect to.
See IRemoteServiceContainerAdapter.getRemoteServiceReferences(org.eclipse.ecf.core.identity.ID, String, String)
. May be null
.serviceInterfaceClass
- the service to find. Must not be null
.filter
- the IRemoteFilter
to use for finding the desired remote service.null
if the desired remote service is not available.ContainerConnectException
- thrown if underlying container cannot connect to get remote service.org.osgi.framework.InvalidSyntaxException
- thrown if the filter does not have correct syntax.IRemoteService getRemoteService(java.lang.String targetLocation, java.lang.String serviceInterfaceClass) throws ContainerConnectException
targetLocation
- the targetLocation to connect to.
See IRemoteServiceContainerAdapter.getRemoteServiceReferences(org.eclipse.ecf.core.identity.ID, String, String)
. May be null
.serviceInterfaceClass
- the service to find. Must not be null
.null
if the desired remote service is not available.ContainerConnectException
- thrown if underlying container cannot connect to get remote service.IRemoteService getRemoteService(java.lang.String serviceInterfaceClass)
serviceInterfaceClass
- the service to find. Must not be null
.null
if the desired remote service is not available.