bexee.model.activity.impl
Class ScopeImpl

java.lang.Object
  extended bybexee.model.activity.impl.AbstractActivity
      extended bybexee.model.activity.impl.ScopeImpl
All Implemented Interfaces:
Activity, AttributeNames, BPELElement, Scope

public class ScopeImpl
extends AbstractActivity
implements Scope

Default implementation of the Scope activity.

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

Field Summary
 
Fields inherited from interface bexee.model.activity.Activity
DEFAULT_SUPPRESS_JOIN_FAILURE
 
Fields inherited from interface bexee.model.AttributeNames
ABSTRACT_PROCESS, CONDITION, CREATE_INSTANCE, ELEMENT, ENABLE_INSTANCE_COMPESATION, ENDPOINT_REFERENCE, EXPRESSION, EXPRESSION_LANGUAGE, FAULT_NAME, INITIATE, INPUT_VARIABLE, JOIN_CONDITION, MESSAGE_TYPE, MY_ROLE, NAME, OPAQUE, OPERATION, OUTPUT_VARIABLE, PART, PARTNER_LINK, PARTNER_LINK_TYPE, PARTNER_ROLE, PATTERN, PORT_TYPE, PROPERTY, QUERY_LANGUAGE, SET, SUPPRESS_JOIN_FAILURE, TARGET_NAMESPACE, TYPE, VARIABLE, XMLNS
 
Constructor Summary
ScopeImpl()
           
ScopeImpl(StandardAttributes standardAttributes)
           
 
Method Summary
 void accept(BPELElementVisitor elementVisitor)
          Accept a BPELElementVisitor which will visit this BPEL element.
 void accept(ProcessController controller, ProcessInstance instance)
          Accept a ProcessController and a ProcessInstance.
 Activity getActivity()
           
 CompensationHandler getCompensationHandler()
           
 CorrelationSets getCorrelationSets()
           
 EventHandlers getEventHandlers()
           
 FaultHandlers getFaultHandlers()
           
 Variables getVariables()
          Get Variables of this Scope.
 boolean isVariableAccessSerializable()
          Get whether the access to variables is serializable.
 void setActivity(Activity activity)
           
 void setCompensationHanlder(CompensationHandler compensationHandler)
           
 void setCorrelationSets(CorrelationSets correlationSets)
           
 void setEventHandlers(EventHandlers eventHandlers)
           
 void setFaultHandlers(FaultHandlers faultHandlers)
           
 void setVariableAccessSerializable(boolean varAccessSerializable)
          Set whether the access to variables is serializable.
 void setVariables(Variables variables)
          Set Variables of this Scope.
 
Methods inherited from class bexee.model.activity.impl.AbstractActivity
addSource, addTarget, getJoinExpression, getName, getSources, getTargets, getValidValueOrDefault, getValidValueOrDefault, isSuppressJoinFailure, setJoinExpression, setName, setSources, setSuppressJoinFailure, setTargets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bexee.model.activity.Activity
addSource, addTarget, getJoinExpression, getName, getSources, getTargets, isSuppressJoinFailure, setJoinExpression, setName, setSources, setSuppressJoinFailure, setTargets
 

Constructor Detail

ScopeImpl

public ScopeImpl()

ScopeImpl

public ScopeImpl(StandardAttributes standardAttributes)
Method Detail

setVariableAccessSerializable

public void setVariableAccessSerializable(boolean varAccessSerializable)
Description copied from interface: Scope
Set whether the access to variables is serializable.

Specified by:
setVariableAccessSerializable in interface Scope
Parameters:
varAccessSerializable - a boolean value

isVariableAccessSerializable

public boolean isVariableAccessSerializable()
Description copied from interface: Scope
Get whether the access to variables is serializable.

Specified by:
isVariableAccessSerializable in interface Scope
Returns:
a boolean value

setVariables

public void setVariables(Variables variables)
Description copied from interface: Scope
Set Variables of this Scope.

Specified by:
setVariables in interface Scope
Parameters:
variables - a Variables value

getVariables

public Variables getVariables()
Description copied from interface: Scope
Get Variables of this Scope.

Specified by:
getVariables in interface Scope
Returns:
a Variables value

setCorrelationSets

public void setCorrelationSets(CorrelationSets correlationSets)
Specified by:
setCorrelationSets in interface Scope
Parameters:
correlationSets - a CorrelationSets value

getCorrelationSets

public CorrelationSets getCorrelationSets()
Specified by:
getCorrelationSets in interface Scope
Returns:
a CorrelationSets value

setFaultHandlers

public void setFaultHandlers(FaultHandlers faultHandlers)
Specified by:
setFaultHandlers in interface Scope
Parameters:
faultHandlers - a FaultHandlers value

getFaultHandlers

public FaultHandlers getFaultHandlers()
Specified by:
getFaultHandlers in interface Scope
Returns:
a FaultHandlers value

setCompensationHanlder

public void setCompensationHanlder(CompensationHandler compensationHandler)
Specified by:
setCompensationHanlder in interface Scope
Parameters:
compensationHandler - a CompensationHandler value

getCompensationHandler

public CompensationHandler getCompensationHandler()
Specified by:
getCompensationHandler in interface Scope
Returns:
a CompensationHandler value

setEventHandlers

public void setEventHandlers(EventHandlers eventHandlers)
Specified by:
setEventHandlers in interface Scope
Parameters:
eventHandlers - an EventHandlers value

getEventHandlers

public EventHandlers getEventHandlers()
Specified by:
getEventHandlers in interface Scope
Returns:
an EventHandlers value

setActivity

public void setActivity(Activity activity)
Specified by:
setActivity in interface Scope
Parameters:
activity - an Activity value

getActivity

public Activity getActivity()
Specified by:
getActivity in interface Scope
Returns:
an Activity value

accept

public void accept(ProcessController controller,
                   ProcessInstance instance)
            throws java.lang.Exception
Description copied from interface: BPELElement
Accept a ProcessController and a ProcessInstance. This method enforces the use of the double-dispach for BPEL elements and activites. Like that it's possible to avoid tedious, error-prone and long instanceof checking of elements before processing.

Specified by:
accept in interface BPELElement
Parameters:
controller -
instance -
Throws:
java.lang.Exception

accept

public void accept(BPELElementVisitor elementVisitor)
Description copied from interface: BPELElement
Accept a BPELElementVisitor which will visit this BPEL element. Enforces double-dispatch.

Specified by:
accept in interface BPELElement
Parameters:
elementVisitor -


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