Package org.eclipse.ecf.core

Examples of org.eclipse.ecf.core.ContainerTypeDescription


  private IRemoteServiceContainerAdapter getServerContainerAdapter() {
    if (this.server != null) return (IRemoteServiceContainerAdapter) this.server.getAdapter(IRemoteServiceContainerAdapter.class);
    IContainer [] containers = getContainerManager().getAllContainers();
    String containerType = getServerContainerTypeName();
    for(int i=0; i < containers.length; i++) {
      ContainerTypeDescription ctd = getContainerManager().getContainerTypeDescription(containers[i].getID());
      if (ctd != null && ctd.getName().equals(containerType)) return (IRemoteServiceContainerAdapter) containers[i].getAdapter(IRemoteServiceContainerAdapter.class);
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.core.ContainerTypeDescription

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.