Class Util

java.lang.Object
org.glassfish.ant.embedded.tasks.Util

public class Util extends Object
  • Constructor Details

    • Util

      public Util()
  • Method Details

    • startGlassFish

      public static org.glassfish.embeddable.GlassFish startGlassFish(String serverID, String installRoot, String instanceRoot, String configFile, boolean configFileReadOnly, int httpPort) throws org.glassfish.embeddable.GlassFishException
      Throws:
      org.glassfish.embeddable.GlassFishException
    • deploy

      public static void deploy(String app, String serverId, List<String> deployParams) throws Exception
      Throws:
      Exception
    • undeploy

      public static void undeploy(String appName, String serverId) throws Exception
      Throws:
      Exception
    • runCommand

      public static void runCommand(String commandLine, String serverId) throws Exception
      Throws:
      Exception
    • disposeGlassFish

      public static void disposeGlassFish(String serverID) throws org.glassfish.embeddable.GlassFishException
      Throws:
      org.glassfish.embeddable.GlassFishException