Package org.eclipse.ecf.remoteservice

Examples of org.eclipse.ecf.remoteservice.RemoteServiceContainer


                + endpointID
                + " remoteSupportedConfigs=" //$NON-NLS-1$
                + ((remoteSupportedConfigs == null) ? "[]" //$NON-NLS-1$
                    : Arrays.asList(remoteSupportedConfigs)
                        .toString()));
        return new RemoteServiceContainer(containers[i], adapter);
      } else {
        trace("selectExistingConsumerContainer", //$NON-NLS-1$
            "No match of existing remote service container id=" //$NON-NLS-1$
                + containers[i].getID()
                + " endpointID=" //$NON-NLS-1$
View Full Code Here


      IRemoteServiceContainerAdapter adapter = (IRemoteServiceContainerAdapter) container
          .getAdapter(IRemoteServiceContainerAdapter.class);
      if (adapter == null)
        throw new SelectContainerException(
            "Container does not implement IRemoteServiceContainerAdapter", null, containerTypeDescription); //$NON-NLS-1$
      return new RemoteServiceContainer(container);
    } catch (ContainerCreateException e) {
      String message = "Cannot create container with container type description name=" //$NON-NLS-1$
          + containerTypeDescriptionName;
      logException(message, e);
      throw new SelectContainerException(message, e,
View Full Code Here

            + ((serviceExportedConfigs == null) ? "null" : Arrays //$NON-NLS-1$
                .asList(serviceExportedConfigs).toString())
            + " intents=" //$NON-NLS-1$
            + ((serviceIntents == null) ? "null" : Arrays.asList( //$NON-NLS-1$
                serviceIntents).toString()));
        results.add(new RemoteServiceContainer(containers[i], adapter));
      } else {
        trace("selectExistingHostContainers", "EXCLUDING containerID=" //$NON-NLS-1$ //$NON-NLS-2$
            + containers[i].getID()
            + " configs=" //$NON-NLS-1$
            + ((serviceExportedConfigs == null) ? "null" : Arrays //$NON-NLS-1$
View Full Code Here

    IRemoteServiceContainerAdapter adapter = (IRemoteServiceContainerAdapter) container
        .getAdapter(IRemoteServiceContainerAdapter.class);
    if (adapter == null)
      throw new SelectContainerException(
          "Container does not implement IRemoteServiceContainerAdapter", null, containerTypeDescription); //$NON-NLS-1$
    return new RemoteServiceContainer(container, adapter);
  }
View Full Code Here

      IContainer[] containers) {
    List results = new ArrayList();
    for (int i = 0; i < containers.length; i++) {
      IRemoteServiceContainerAdapter adapter = hasRemoteServiceContainerAdapter(containers[i]);
      if (adapter != null)
        results.add(new RemoteServiceContainer(containers[i], adapter));
    }
    return (IRemoteServiceContainer[]) results
        .toArray(new IRemoteServiceContainer[] {});
  }
View Full Code Here

        .getContainerFactory().createContainer(getContainerType(),containerID);
  }

  protected IRemoteServiceContainer createRemoteServiceContainer(
      IContainer container) {
    return new RemoteServiceContainer(container);
  }
View Full Code Here

        CLIENT_TYPE);
    // Get adapter for accessing remote services
    IRemoteServiceContainerAdapter adapter = (IRemoteServiceContainerAdapter) client
        .getAdapter(IRemoteServiceContainerAdapter.class);

    rsContainer = new RemoteServiceContainer(client,adapter);
   
    System.out.println("Client created with ID=" + client.getID());

    ID connectTargetID = IDFactory.getDefault().createStringID(
        NLS.bind(SERVER_ID, new Integer(port)));
View Full Code Here

        CLIENT_TYPE);
    // Get adapter for accessing remote services
    IRemoteServiceContainerAdapter adapter = (IRemoteServiceContainerAdapter) client
        .getAdapter(IRemoteServiceContainerAdapter.class);

    rsContainer = new RemoteServiceContainer(client,adapter);
   
    System.out.println("Client created with ID=" + client.getID());

    ID connectTargetID = IDFactory.getDefault().createStringID(
        NLS.bind(SERVER_ID, new Integer(port)));
View Full Code Here

            createStringID(containerID));
  }

  protected IRemoteServiceContainer createRemoteServiceContainer(
      IContainer container) {
    return new RemoteServiceContainer(container,
        (IRemoteServiceContainerAdapter) container
            .getAdapter(IRemoteServiceContainerAdapter.class));
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.remoteservice.RemoteServiceContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.