org.jbpm.enterprise
Interface RemoteCommandExecutor

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface RemoteCommandExecutor
extends javax.ejb.EJBObject

EJB2 remote interface for the command executor.

Author:
Tom Baeyens

Method Summary
<T> T
execute(Command<T> command)
          Executes the given command remotely.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

execute

<T> T execute(Command<T> command)
          throws java.rmi.RemoteException
Executes the given command remotely.

Throws:
java.rmi.RemoteException - if a communication error occurs