org.eclipse.ecf.osgi.services.distribution
Class AbstractContainerFinder
java.lang.Object
org.eclipse.ecf.osgi.services.distribution.AbstractContainerFinder
- Direct Known Subclasses:
- DefaultHostContainerFinder, DefaultProxyContainerFinder
public abstract class AbstractContainerFinder
- extends java.lang.Object
Abstract superclass for IHostContainerFinders and IProxyContainerFinders.
|
Method Summary |
protected void |
connectContainer(IContainer container,
ID connectTargetID,
IConnectContext connectContext)
|
protected IContainer[] |
getAllContainers()
|
protected IRemoteServiceContainer[] |
getRemoteServiceContainers(IContainer[] containers)
|
protected IRemoteServiceContainerAdapter |
hasRemoteServiceContainerAdapter(IContainer container)
|
protected boolean |
includeContainerWithConnectNamespace(IContainer container,
java.lang.String connectNamespaceName)
|
protected void |
logError(java.lang.String methodName,
java.lang.String message)
|
protected void |
logError(java.lang.String methodName,
java.lang.String message,
java.lang.Throwable t)
|
protected void |
logWarning(java.lang.String methodName,
java.lang.String message)
|
protected void |
trace(java.lang.String methodName,
java.lang.String message)
|
protected void |
traceException(java.lang.String methodName,
java.lang.String message,
java.lang.Throwable t)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_REMOTE_SERVICE_CONTAINER_ARRAY
public static final IRemoteServiceContainer[] EMPTY_REMOTE_SERVICE_CONTAINER_ARRAY
AbstractContainerFinder
public AbstractContainerFinder()
getAllContainers
protected IContainer[] getAllContainers()
hasRemoteServiceContainerAdapter
protected IRemoteServiceContainerAdapter hasRemoteServiceContainerAdapter(IContainer container)
getRemoteServiceContainers
protected IRemoteServiceContainer[] getRemoteServiceContainers(IContainer[] containers)
includeContainerWithConnectNamespace
protected boolean includeContainerWithConnectNamespace(IContainer container,
java.lang.String connectNamespaceName)
connectContainer
protected void connectContainer(IContainer container,
ID connectTargetID,
IConnectContext connectContext)
throws ContainerConnectException
- Throws:
ContainerConnectException
trace
protected void trace(java.lang.String methodName,
java.lang.String message)
traceException
protected void traceException(java.lang.String methodName,
java.lang.String message,
java.lang.Throwable t)
logError
protected void logError(java.lang.String methodName,
java.lang.String message,
java.lang.Throwable t)
logError
protected void logError(java.lang.String methodName,
java.lang.String message)
logWarning
protected void logWarning(java.lang.String methodName,
java.lang.String message)