org.apache.geronimo.gshell.commands.optional
Class JavaCommand
java.lang.Object
org.apache.geronimo.gshell.command.CommandSupport
org.apache.geronimo.gshell.commands.optional.JavaCommand
- All Implemented Interfaces:
- Command
public class JavaCommand
- extends CommandSupport
Execute a Java standard application.
By default looks for static main(String[]) to execute, but
you can specify a different static method that takes a String[]
to execute instead.
- Version:
- $Rev: 573941 $ $Date: 2007-09-08 18:55:53 -0700 (Sat, 08 Sep 2007) $
| Nested classes/interfaces inherited from interface org.apache.geronimo.gshell.command.Command |
Command.Result |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaCommand
public JavaCommand()
doExecute
protected Object doExecute()
throws Exception
- Specified by:
doExecute in class CommandSupport
- Throws:
Exception
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.