Package org.rzo.yajsw.os

Examples of org.rzo.yajsw.os.ServiceInfo


    return true;
  }

  private boolean isService(String name)
  {
    ServiceInfo s = _services.get(name);
    return !"Console".equals(s.getWrapped());
  }
View Full Code Here


    final ReloadConsoleDialog reloadConsole = new ReloadConsoleDialog();
   
      final JDialog dialog = new JDialog(frame);
      if (servicesTable.getSelection().size() == 0)
        return;
      final ServiceInfo selected = servicesTable.getSelection().get(0);
      reloadConsole._SERVICE.setText(selected.getName());
      reloadConsole._CONFIGURATION.setModel(new DefaultComboBoxModel(new Vector(configurations)));

      reloadConsole._OK_BUTTON.setAction(new AbstractAction("Reload")
      {

      public void actionPerformed(ActionEvent e)
      {
        reloadConsole._OK_BUTTON.setEnabled(false);
          AsyncServiceManagerServer proxy = proxies.get(selected.getHost());
        boolean result = false;
        try
        {
          result = ((Boolean)((Future)proxy.yajswReloadConsole(selected.getName(), (String) reloadConsole._CONFIGURATION.getSelectedItem())).get(10, TimeUnit.SECONDS)).booleanValue();
        }
        catch (Exception e1)
        {
          // TODO Auto-generated catch block
          e1.printStackTrace();
View Full Code Here

      for (int i=0; i<listData.size(); i++)
        install._HOSTS_LIST.setSelectedIndex(i);
      List<ServiceInfo> selected = servicesTable.getSelection();
      if (selected.size() >0)
      {
        ServiceInfo selection = selected.get(0);
      }
    install._CONFIGURATION.setModel(new DefaultComboBoxModel(new Vector(configurations)));
      install._OK_BUTTON.setAction(new AbstractAction("INSTALL")
      {
View Full Code Here

TOP

Related Classes of org.rzo.yajsw.os.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.