org.apache.geronimo.gshell
Class DefaultCommandExecutor
java.lang.Object
org.apache.geronimo.gshell.DefaultCommandExecutor
- All Implemented Interfaces:
- CommandExecutor
@Component(role=CommandExecutor.class,
hint="default")
public class DefaultCommandExecutor- extends Object
- implements CommandExecutor
The default command executor.
- Version:
- $Rev: 576846 $ $Date: 2007-09-18 04:20:47 -0700 (Tue, 18 Sep 2007) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCommandExecutor
public DefaultCommandExecutor()
execute
public Object execute(String line)
throws Exception
- Specified by:
execute in interface CommandExecutor
- Throws:
Exception
execute
public Object execute(Object... args)
throws Exception
- Specified by:
execute in interface CommandExecutor
- Throws:
Exception
execute
public Object execute(String path,
Object[] args)
throws Exception
- Specified by:
execute in interface CommandExecutor
- Throws:
Exception
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.