com.ibm.itim.workflow.application
Interface ApplicationFactory


public interface ApplicationFactory

Interface for creating an external application, or object, where the workflow execution context is needed to construct it. Most likely, this will be needed if the application is not under the control of the workflow integrator and there are specific construction requirements for the application. The factory object will act as a construction bridge between the workflow engine and the application.


Method Summary
 java.lang.Object create(WorkflowExecutionContext context)
          Creates the application with the given workflow execution context.
 

Method Detail

create

public java.lang.Object create(WorkflowExecutionContext context)
                        throws WorkflowException
Creates the application with the given workflow execution context.
Parameters:
context - WorklowExecutionContext holding information about the currently executing activity.
Returns:
Object representing the application, null if unable to create.
Throws:
WorkflowException - Thrown if unable to create the application and details are available.