org.moremotion.process
Class ExecutionManager

java.lang.Object
  extended by org.moremotion.process.ExecutionManager

public class ExecutionManager
extends java.lang.Object

Responsible to execute the process templates

Version:
$Id: ExecutionManager.java 769 2011-02-08 14:42:59Z erkan $

Method Summary
 void createMessage(java.lang.Exception ex, CallInstance ci)
           
 int execute()
           
 int execute(CallInstance ci)
           
static ExecutionManager getExecutionManager(ProcessTemplateCallDefinition callDef, MoreMotionRequest request, Logger logger)
           
static ExecutionManager getExecutionManager(java.lang.String templateName, java.lang.String callerPage, MoreMotionRequest request, LogDefinition logdef)
          Creates and returns a Execution Manager for the specified process template.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExecutionManager

public static ExecutionManager getExecutionManager(java.lang.String templateName,
                                                   java.lang.String callerPage,
                                                   MoreMotionRequest request,
                                                   LogDefinition logdef)
                                            throws ProcessManagingException
Creates and returns a Execution Manager for the specified process template.

Parameters:
templateName - The name of the process template that exist is the process configuration
callerPage - The name of the caller page. Required to resolve relative references to processes and templates.
request - MoreMotionRequest object
Throws:
ProcessManagingException

getExecutionManager

public static ExecutionManager getExecutionManager(ProcessTemplateCallDefinition callDef,
                                                   MoreMotionRequest request,
                                                   Logger logger)
                                            throws ProcessManagingException
Throws:
ProcessManagingException

execute

public int execute()
            throws ProcessManagingException
Throws:
ProcessManagingException

execute

public int execute(CallInstance ci)
            throws ProcessManagingException
Throws:
ProcessManagingException

createMessage

public void createMessage(java.lang.Exception ex,
                          CallInstance ci)


Copyright © 2002-2011 MOR YAZILIM. All Rights Reserved.