org.glassfish.ant.embedded.tasks
Class Util

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

public class Util
extends Object


Constructor Summary
Util()
           
 
Method Summary
static void deploy(String app, String serverId, List<String> deployParams)
           
static void disposeGlassFish(String serverID)
           
static void runCommand(String commandLine, String serverId)
           
static GlassFish startGlassFish(String serverID, String installRoot, String instanceRoot, String configFileURI, boolean configFileReadOnly, int httpPort)
           
static void undeploy(String appName, String serverId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

startGlassFish

public static GlassFish startGlassFish(String serverID,
                                       String installRoot,
                                       String instanceRoot,
                                       String configFileURI,
                                       boolean configFileReadOnly,
                                       int httpPort)
                                throws GlassFishException
Throws:
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 GlassFishException
Throws:
GlassFishException


Copyright © 2012. All Rights Reserved.