Package org.eclipse.wst.server.core

Examples of org.eclipse.wst.server.core.IServer.loadAdapter()


  }

  protected int findSSHPort(int defaultValue) {
    IServer s = getServer();
    if (s != null) {
      IKarafServerDelegate ksd = (IKarafServerDelegate)s.loadAdapter(IKarafServerDelegate.class, new NullProgressMonitor());
      if (ksd != null) {
        return ksd.getPortNumber();
      }
    }
    return defaultValue;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.