bexee.model.activity.impl
Class InvokeImpl

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

public class InvokeImpl
extends AbstractActivity
implements Invoke

Default implementation of the Invoke 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
InvokeImpl()
           
InvokeImpl(StandardAttributes standardAttributes)
           
InvokeImpl(StandardAttributes standardAttributes, PartnerLink partnerLink, javax.xml.namespace.QName portType, java.lang.String operation, Variable inVariable, Variable outVariable)
           
 
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.
 void addCatchFault(CatchFault catchFault)
          Add a Catch to this Invoke.
 CatchAll getCatchAll()
          Get the CatchAll of this Invoke.
 java.util.List getCatchFaults()
          Get all Catch elements of this Invoke.
 CompensationHandler getCompensationHandler()
          Get the CompensationHandler of this Invoke.
 Correlations getCorrelations()
          Get the Correlations of this Invoke.
 Variable getInputVariable()
          Get the InputVariable of this Invoke.
 java.lang.String getOperation()
          Get the operation to be called by this Invoke.
 Variable getOutputVariable()
          Get the OutputVariable of this Invoke.
 PartnerLink getPartnerLink()
          Get the PartnerLink of this Invoke.
 javax.xml.namespace.QName getPortType()
          Get the PortType QName of this Invoke.
 boolean isSynchronous()
          Is this Invoke synchronous.
 void setCatchAll(CatchAll catchAll)
          Set the CatchAll of this Invoke.
 void setCatchFaults(java.util.List catchFaults)
          Set all Catch elements of this Invoke.
 void setCompensationHandler(CompensationHandler compensationHandler)
          Set the CompensationHandler of this Invoke.
 void setCorrelations(Correlations correlations)
          Set the Correlations of this Invoke.
 void setInputVariable(Variable inputVariable)
          Set the InputVariable of this Invoke.
 void setOperation(java.lang.String operation)
          Set the operation to be called by this Invoke.
 void setOutputVariable(Variable outputVariable)
          Set the OutputVariable of this Invoke.
 void setPartnerLink(PartnerLink partnerLink)
          Set the PartnerLink of this Invoke.
 void setPortType(javax.xml.namespace.QName portType)
          Set the PortType QName of this Invoke.
 
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

InvokeImpl

public InvokeImpl()

InvokeImpl

public InvokeImpl(StandardAttributes standardAttributes)
Parameters:
standardAttributes -

InvokeImpl

public InvokeImpl(StandardAttributes standardAttributes,
                  PartnerLink partnerLink,
                  javax.xml.namespace.QName portType,
                  java.lang.String operation,
                  Variable inVariable,
                  Variable outVariable)
Parameters:
standardAttributes -
inVariable -
outVariable -
Method Detail

setPartnerLink

public void setPartnerLink(PartnerLink partnerLink)
Description copied from interface: Invoke
Set the PartnerLink of this Invoke.

Specified by:
setPartnerLink in interface Invoke
Parameters:
partnerLink -

getPartnerLink

public PartnerLink getPartnerLink()
Description copied from interface: Invoke
Get the PartnerLink of this Invoke.

Specified by:
getPartnerLink in interface Invoke
Returns:

setPortType

public void setPortType(javax.xml.namespace.QName portType)
Description copied from interface: Invoke
Set the PortType QName of this Invoke.

Specified by:
setPortType in interface Invoke
Parameters:
portType -

getPortType

public javax.xml.namespace.QName getPortType()
Description copied from interface: Invoke
Get the PortType QName of this Invoke.

Specified by:
getPortType in interface Invoke
Returns:

setOperation

public void setOperation(java.lang.String operation)
Description copied from interface: Invoke
Set the operation to be called by this Invoke.

Specified by:
setOperation in interface Invoke
Parameters:
operation -

getOperation

public java.lang.String getOperation()
Description copied from interface: Invoke
Get the operation to be called by this Invoke.

Specified by:
getOperation in interface Invoke
Returns:

setInputVariable

public void setInputVariable(Variable inputVariable)
Description copied from interface: Invoke
Set the InputVariable of this Invoke.

Specified by:
setInputVariable in interface Invoke
Parameters:
inputVariable -

getInputVariable

public Variable getInputVariable()
Description copied from interface: Invoke
Get the InputVariable of this Invoke.

Specified by:
getInputVariable in interface Invoke
Returns:

setOutputVariable

public void setOutputVariable(Variable outputVariable)
Description copied from interface: Invoke
Set the OutputVariable of this Invoke.

Specified by:
setOutputVariable in interface Invoke
Parameters:
outputVariable -

getOutputVariable

public Variable getOutputVariable()
Description copied from interface: Invoke
Get the OutputVariable of this Invoke.

Specified by:
getOutputVariable in interface Invoke
Returns:

setCorrelations

public void setCorrelations(Correlations correlations)
Description copied from interface: Invoke
Set the Correlations of this Invoke.

Specified by:
setCorrelations in interface Invoke
Parameters:
correlations -

getCorrelations

public Correlations getCorrelations()
Description copied from interface: Invoke
Get the Correlations of this Invoke.

Specified by:
getCorrelations in interface Invoke
Returns:

addCatchFault

public void addCatchFault(CatchFault catchFault)
Description copied from interface: Invoke
Add a Catch to this Invoke.

Specified by:
addCatchFault in interface Invoke
Parameters:
catchFault -

setCatchFaults

public void setCatchFaults(java.util.List catchFaults)
Description copied from interface: Invoke
Set all Catch elements of this Invoke.

Specified by:
setCatchFaults in interface Invoke
Parameters:
catchFaults -

getCatchFaults

public java.util.List getCatchFaults()
Description copied from interface: Invoke
Get all Catch elements of this Invoke.

Specified by:
getCatchFaults in interface Invoke
Returns:

setCatchAll

public void setCatchAll(CatchAll catchAll)
Description copied from interface: Invoke
Set the CatchAll of this Invoke.

Specified by:
setCatchAll in interface Invoke
Parameters:
catchAll -

getCatchAll

public CatchAll getCatchAll()
Description copied from interface: Invoke
Get the CatchAll of this Invoke.

Specified by:
getCatchAll in interface Invoke
Returns:

setCompensationHandler

public void setCompensationHandler(CompensationHandler compensationHandler)
Description copied from interface: Invoke
Set the CompensationHandler of this Invoke.

Specified by:
setCompensationHandler in interface Invoke
Parameters:
compensationHandler -

getCompensationHandler

public CompensationHandler getCompensationHandler()
Description copied from interface: Invoke
Get the CompensationHandler of this Invoke.

Specified by:
getCompensationHandler in interface Invoke
Returns:

isSynchronous

public boolean isSynchronous()
Description copied from interface: Invoke
Is this Invoke synchronous.

Specified by:
isSynchronous in interface Invoke
Returns:

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.