Examples of GeronimoServerDelegate


Examples of org.apache.geronimo.st.core.GeronimoServerDelegate

     * (non-Javadoc)
     *
     * @see org.apache.geronimo.st.ui.commands.ServerCommand#undo()
     */
    public void undo() {
        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
        gs.setNotRedeployJSPFiles(oldValue);
    }
View Full Code Here

Examples of org.apache.geronimo.st.core.GeronimoServerDelegate

   * (non-Javadoc)
   *
   * @see org.apache.geronimo.st.ui.commands.ServerCommand#execute()
   */
  public void execute() {
    GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
    oldValue = gs.isInPlaceSharedLib();
    gs.setInPlaceSharedLib(value);
  }
View Full Code Here

Examples of org.apache.geronimo.st.core.GeronimoServerDelegate

   * (non-Javadoc)
   *
   * @see org.apache.geronimo.st.ui.commands.ServerCommand#undo()
   */
  public void undo() {
    GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
    gs.setInPlaceSharedLib(oldValue);
  }
View Full Code Here

Examples of org.apache.geronimo.st.core.GeronimoServerDelegate

      }

      public void modify(Object element, String property, Object value) {
        Item item = (Item) element;
        ServerPort sp = (ServerPort) item.getData();
        GeronimoServerDelegate gs = getGeronimoServer();
        gs.setInstanceProperty(sp.getId(), (String) value);
        changePortNumber(sp.getId(), Integer.parseInt((String) value));
      }
    };

    viewer.setCellModifier(cellModifier);
View Full Code Here

Examples of org.apache.geronimo.st.core.GeronimoServerDelegate

   * (non-Javadoc)
   *
   * @see org.eclipse.wst.server.ui.internal.command.ServerCommand#execute()
   */
  public void execute() {
    GeronimoServerDelegate gs = getGeronimoServer();
    oldValue = gs.getConsoleLogLevel();
    gs.setConsoleLogLevel(value);
  }
View Full Code Here

Examples of org.apache.geronimo.st.core.GeronimoServerDelegate

    //TODO
    return true;
  }

  private GeronimoServerDelegate getGeronimoServer() {
    GeronimoServerDelegate gs = (GeronimoServerDelegate) getServer().getAdapter(GeronimoServerDelegate.class);
    if (gs == null)
      gs = (GeronimoServerDelegate) getServer().loadAdapter(GeronimoServerDelegate.class, null);
    return gs;
  }
View Full Code Here

Examples of org.apache.geronimo.st.core.GeronimoServerDelegate

  public void undo() {
    getGeronimoServer().setConsoleLogLevel(oldValue);
  }

  private GeronimoServerDelegate getGeronimoServer() {
    GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
    if (gs == null) {
      gs = (GeronimoServerDelegate) server.loadAdapter(GeronimoServerDelegate.class, new NullProgressMonitor());
    }
    return gs;
  }
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.