org.obe.spi.service
Interface AsyncManager

All Superinterfaces:
WorkflowService

public interface AsyncManager
extends WorkflowService

Provides an asynchronous internal execution service. The workflow engine uses this interface when it needs to execute part of the workflow asynchronously (for example, to run a sub-workflow or tool).

Author:
Adrian Price

Nested Class Summary
static interface AsyncManager.AsyncRequest
          Interface that must be implemented by requests submitted to this service.
 
Field Summary
static java.lang.String SERVICE_NAME
           
 
Method Summary
 void asyncRequest(AsyncManager.AsyncRequest request)
          Posts a request for asynchronous execution.
 void asyncStartActivity(java.lang.String processInstanceId, java.lang.String activityInstanceId)
          Posts an activity for asynchronous execution.
 void asyncStartProcess(java.lang.String processInstanceId)
          Posts a process instance for asynchronous execution.
 
Methods inherited from interface org.obe.spi.WorkflowService
exit, getServiceManager, getServiceName, init
 

Field Detail

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values
Method Detail

asyncRequest

public void asyncRequest(AsyncManager.AsyncRequest request)
Posts a request for asynchronous execution.

Parameters:
request - The object to run asynchronously.

asyncStartActivity

public void asyncStartActivity(java.lang.String processInstanceId,
                               java.lang.String activityInstanceId)
Posts an activity for asynchronous execution.

Parameters:
processInstanceId -
activityInstanceId -

asyncStartProcess

public void asyncStartProcess(java.lang.String processInstanceId)
Posts a process instance for asynchronous execution.

Parameters:
processInstanceId -


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.