org.jbpm.command
Class CompositeCommand

java.lang.Object
  extended by org.jbpm.command.CompositeCommand
All Implemented Interfaces:
java.io.Serializable, Command

public class CompositeCommand
extends java.lang.Object
implements Command

See Also:
Serialized Form

Constructor Summary
CompositeCommand(java.util.List commands)
           
 
Method Summary
 java.lang.Object execute(JbpmContext jbpmContext)
           
protected  java.lang.reflect.Field findField(java.lang.Class clazz)
           
protected  void tryToInject(java.lang.Object lastResult, Command command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeCommand

public CompositeCommand(java.util.List commands)
Method Detail

execute

public java.lang.Object execute(JbpmContext jbpmContext)
                         throws java.lang.Exception
Specified by:
execute in interface Command
Throws:
java.lang.Exception

tryToInject

protected void tryToInject(java.lang.Object lastResult,
                           Command command)

findField

protected java.lang.reflect.Field findField(java.lang.Class clazz)