bexee.core
Interface ProcessController

All Known Implementing Classes:
ProcessControllerImpl

public interface ProcessController

The ProcessController is the core of the engine and contains the execution logic for every BPEL activity.

The ProcessController needs to be thread-safe as several threads may use it simultaneously.

The current version of bexee doesn't support all possible BPEL activities. This is the reason, why there is a process(ProcessInstance, Activity) method, it's a substitute for all unimplemented activities. When implementing an Activity, the implementor has to add a method process(ProcessInstance, NewlyImplActivity) to this interface and implement it in all implementing classes.

Version:
$Revision: 1.1 $, $Date: 2004/12/15 14:18:10 $
Author:
Patric Fornasier, Pawel Kowalski

Method Summary
 void process(Activity activity, ProcessInstance instance)
          Execute an Activity activity.
 void process(Assign assign, ProcessInstance instance)
          This is the process method for an Activity and is kept here as long as there exist unimplemented activities.
 void process(Compensate compenstate, ProcessInstance instance)
          Execute a Compensate BPEL element.
 void process(Copy copy, ProcessInstance instance)
          Execute a Copy BPEL element.
 void process(CorrelationPattern correlationPattern, ProcessInstance instance)
          Execute a CorrelationPattern BPEL element.
 void process(Correlation correlation, ProcessInstance instance)
          Execute a Correlation BPEL element.
 void process(Empty empty, ProcessInstance instance)
          Execute an Empty activity.
 void process(Flow flow, ProcessInstance instance)
          Execute a Flow structured activity.
 void process(Invoke invoke, ProcessInstance instance)
          Execute an Invoke BPEL activity.
 void process(Link link, ProcessInstance instance)
          Execute a Link BPEL element.
 void process(PartnerLink partnerLink, ProcessInstance instance)
          Execute a PartnerLink BPEL element.
 void process(PartnerLinks partnerLinks, ProcessInstance instance)
          Execute PartnerLinks BPEL element.
 void process(Process process, ProcessInstance instance)
          Execute the root Process element of the BPEL process.
 void process(Receive receive, ProcessInstance instance)
          Execute a Receive activity.
 void process(Reply reply, ProcessInstance instance)
          Execute a Reply activity.
 void process(Sequence sequence, ProcessInstance instance)
          Execute a Sequence structured activity.
 void process(Switch bpelSwitch, ProcessInstance instance)
          Execute a Switch structured activity.
 void process(Variable variable, ProcessInstance instance)
          Execute a Variable BPEL element.
 void process(Variables variables, ProcessInstance instance)
          Execute a Variables BPEL element.
 void processMessage(ProcessInstance instance, BexeeMessage message)
          Execute the process using the given ProcessInstance and the BexeeMessage.
 

Method Detail

processMessage

public void processMessage(ProcessInstance instance,
                           BexeeMessage message)
Execute the process using the given ProcessInstance and the BexeeMessage.

Parameters:
instance - the ProcessInstance
message - the BexeeMessage

process

public void process(Process process,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute the root Process element of the BPEL process.

Parameters:
process - root BPEL element
instance - the process instance
Throws:
java.lang.Exception

process

public void process(Receive receive,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Receive activity.

Parameters:
receive -
instance -
Throws:
java.lang.Exception

process

public void process(Invoke invoke,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute an Invoke BPEL activity.

Parameters:
invoke -
instance -
Throws:
java.lang.Exception

process

public void process(Reply reply,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Reply activity.

Parameters:
reply -
instance -
Throws:
java.lang.Exception

process

public void process(Variable variable,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Variable BPEL element.

Parameters:
variable -
instance -
Throws:
java.lang.Exception

process

public void process(Sequence sequence,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Sequence structured activity.

Parameters:
sequence -
instance -
Throws:
java.lang.Exception

process

public void process(Switch bpelSwitch,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Switch structured activity.

Parameters:
bpelSwitch -
instance -
Throws:
java.lang.Exception

process

public void process(Link link,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Link BPEL element.

Parameters:
link -
instance -
Throws:
java.lang.Exception

process

public void process(PartnerLinks partnerLinks,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute PartnerLinks BPEL element.

Parameters:
partnerLinks -
instance -
Throws:
java.lang.Exception

process

public void process(PartnerLink partnerLink,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a PartnerLink BPEL element.

Parameters:
partnerLink -
instance -
Throws:
java.lang.Exception

process

public void process(Compensate compenstate,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Compensate BPEL element.

Parameters:
compenstate -
instance -
Throws:
java.lang.Exception

process

public void process(Assign assign,
                    ProcessInstance instance)
             throws java.lang.Exception
This is the process method for an Activity and is kept here as long as there exist unimplemented activities.

Parameters:
assign -
instance -
Throws:
java.lang.Exception

process

public void process(Activity activity,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute an Activity activity.

Parameters:
activity -
instance -
Throws:
java.lang.Exception

process

public void process(Empty empty,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute an Empty activity.

Parameters:
instance -
Throws:
java.lang.Exception

process

public void process(Flow flow,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Flow structured activity.

Parameters:
flow -
instance -
Throws:
java.lang.Exception

process

public void process(Variables variables,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Variables BPEL element.

Parameters:
variables -
instance -
Throws:
java.lang.Exception

process

public void process(Correlation correlation,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Correlation BPEL element.

Parameters:
correlation -
instance -
Throws:
java.lang.Exception

process

public void process(CorrelationPattern correlationPattern,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a CorrelationPattern BPEL element.

Parameters:
correlationPattern -
instance -
Throws:
java.lang.Exception

process

public void process(Copy copy,
                    ProcessInstance instance)
             throws java.lang.Exception
Execute a Copy BPEL element.

Parameters:
copy -
instance -
Throws:
java.lang.Exception


Copyright © 2004 Berne University of Applied Sciences. All Rights Reserved.