tweed.invocation
Class CommandInvoker

java.lang.Object
  |
  +--tweed.invocation.CommandInvoker
Direct Known Subclasses:
LoopbackInvoker

public abstract class CommandInvoker
extends java.lang.Object

A CommandInvoker is supposed to run client-side. It makes a Command instance execute server-side. Concrete implementations of an CommandInvoker will rely on a particular middleware. Command implementors should not manipulate this class directly.

Version:
$Id$
Author:
Laurent Caillette

Field Summary
static java.lang.String CHILDLOGGER_NAME
           
 
Constructor Summary
CommandInvoker(Context context)
           
 
Method Summary
protected abstract  ExternalizedCommand doInvoke(ExternalizedCommand externalizedCommand)
           
protected  Context getContext()
           
protected  org.apache.avalon.framework.logger.Logger getLogger()
           
 void invoke(Command command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHILDLOGGER_NAME

public static final java.lang.String CHILDLOGGER_NAME
See Also:
Constant Field Values
Constructor Detail

CommandInvoker

public CommandInvoker(Context context)
Method Detail

getLogger

protected final org.apache.avalon.framework.logger.Logger getLogger()

getContext

protected final Context getContext()

invoke

public void invoke(Command command)

doInvoke

protected abstract ExternalizedCommand doInvoke(ExternalizedCommand externalizedCommand)
                                         throws java.io.IOException
java.io.IOException


Copyright © 2003 Laurent Caillette. All Rights Reserved.