org.apache.geronimo.gshell.remote.message
Class ExecuteMessage

java.lang.Object
  extended by org.apache.geronimo.gshell.whisper.message.BaseMessage
      extended by org.apache.geronimo.gshell.remote.message.RshMessage
          extended by org.apache.geronimo.gshell.remote.message.ExecuteMessage
All Implemented Interfaces:
Serializable, Message

public class ExecuteMessage
extends RshMessage

Execute a command. This supports all flavors of the CommandExecutor execution methods.

Version:
$Rev: 580731 $ $Date: 2007-09-30 07:52:42 -0700 (Sun, 30 Sep 2007) $
See Also:
Serialized Form

Nested Class Summary
static class ExecuteMessage.Fault
           
static class ExecuteMessage.Notification
           
static class ExecuteMessage.Result
           
 
Nested classes/interfaces inherited from interface org.apache.geronimo.gshell.whisper.message.Message
Message.ID
 
Constructor Summary
ExecuteMessage()
           
ExecuteMessage(Object[] args)
           
ExecuteMessage(String commandLine)
           
ExecuteMessage(String path, Object[] args)
           
 
Method Summary
 Object execute(CommandExecutor executor)
           
 
Methods inherited from class org.apache.geronimo.gshell.whisper.message.BaseMessage
getCorrelationId, getId, getSequence, getTimestamp, hashCode, setCorrelationId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecuteMessage

public ExecuteMessage(String commandLine)

ExecuteMessage

public ExecuteMessage(Object[] args)

ExecuteMessage

public ExecuteMessage(String path,
                      Object[] args)

ExecuteMessage

public ExecuteMessage()
Method Detail

execute

public Object execute(CommandExecutor executor)
               throws Exception
Throws:
Exception


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.