Class GlassFish3xAsAdmin
- java.lang.Object
-
- org.codehaus.cargo.container.glassfish.internal.AbstractAsAdmin
-
- org.codehaus.cargo.container.glassfish.internal.GlassFish3xAsAdmin
-
public class GlassFish3xAsAdmin extends AbstractAsAdmin
Implements an GlassFish 3.x AsAdmin command.
-
-
Constructor Summary
Constructors Constructor Description GlassFish3xAsAdmin(String home)
Saves the GlassFish home directory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
invokeAsAdmin(boolean async, JvmLauncher java, String[] args)
Invokes asadmin using a Java container.-
Methods inherited from class org.codehaus.cargo.container.glassfish.internal.AbstractAsAdmin
getPasswordFile
-
-
-
-
Constructor Detail
-
GlassFish3xAsAdmin
public GlassFish3xAsAdmin(String home)
Saves the GlassFish home directory.- Parameters:
home
- GlassFish home directory.
-
-
Method Detail
-
invokeAsAdmin
public int invokeAsAdmin(boolean async, JvmLauncher java, String[] args)
Invokes asadmin using a Java container.- Specified by:
invokeAsAdmin
in classAbstractAsAdmin
- Parameters:
async
- Asynchronous invoke?java
- JVM launcher.args
- Invoke arguments.- Returns:
- The exit code from asadmin, always
0
when using asynchronous invocation.
-
-