Package org.apache.geronimo.st.core

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


        }
    }

  public URL getConsoleUrl() throws MalformedURLException {
    if (server != null) {
      GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
      return new URL("http://" + server.getHost() + ":"
          + gs.getHTTPPort() + "/console/");
    }
    return null;
  }
View Full Code Here


     * @see org.apache.geronimo.st.ui.commands.ServerCommand#execute()
     */
    public void execute() {
        Trace.tracePoint("ENTRY", "SetClasspathContainersCommand.execute");

        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
        oldList = gs.getClasspathContainers();
        gs.setClasspathContainers(newList);

        Trace.tracePoint("EXIT", "SetClasspathContainersCommand.execute");
    }
View Full Code Here

     * @see org.apache.geronimo.st.ui.commands.ServerCommand#undo()
     */
    public void undo() {
        Trace.tracePoint("ENTRY", "SetClasspathContainersCommand.undo");

        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
        gs.setClasspathContainers(oldList);

        Trace.tracePoint("EXIT", "SetClasspathContainersCommand.undo");
    }
View Full Code Here

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

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

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

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

    /**
     * Execute the command.
     */
    public void execute() {
        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
        oldTimeOut = gs.getPublishTimeout();
        gs.setPublishTimeout(timeOut);
    }
View Full Code Here

    /**
     * Undo the command.
     */
    public void undo() {
        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
        gs.setPublishTimeout(oldTimeOut);
    }
View Full Code Here

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

TOP

Related Classes of org.apache.geronimo.st.core.GeronimoServerDelegate

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.