org.apache.geronimo.gshell
Class DefaultCommandExecutor

java.lang.Object
  extended by 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) $

Constructor Summary
DefaultCommandExecutor()
           
 
Method Summary
 Object execute(Object... args)
           
 Object execute(String line)
           
 Object execute(String path, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCommandExecutor

public DefaultCommandExecutor()
Method Detail

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.