Package org.jamesii.core.services

Examples of org.jamesii.core.services.ServiceInfo


    pluginAction = createShowPlugInViewAction(pluginIcon);
    pluginAction.setEnabled(getSelectedNodeInfo() != null);
    actions.add(pluginAction);

    if (getSelectedNodeInfo() != null) {
      ServiceInfo info = (ServiceInfo) getSelectedNodeInfo().getInfo();
      Map<String, List<String[]>> commandList = info.getPossibleCommands();
      for (Entry<String, List<String[]>> entry : commandList.entrySet()) {
        String command = entry.getKey();
        IAction action =
            new ServiceAction(command, command, new String[] { "" }, info,
                entry.getValue(), this);
View Full Code Here


  @SuppressWarnings("unchecked")
  private String getAddressForNode(NodeInfo o) {
    if (o == null) {
      return "";
    }
    ServiceInfo info = (ServiceInfo) o.getInfo();
    return "rmi://" + info.getHostAddress().getHostName() + ":"
        + MasterServer.DEFAULT_PORT + "/" + info.getName();
  }
View Full Code Here

TOP

Related Classes of org.jamesii.core.services.ServiceInfo

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.