| java.lang.Object bexee.model.xmltobpel.BPELElementFactory
BPELElementFactory | public class BPELElementFactory (Code) | | This is a factory for the creation of BPEL process elements. The
author: Pawel Kowalski version: $Revision: 1.13 $, $Date: 2004/12/09 12:34:14 $ |
Constructor Summary | |
public | BPELElementFactory() Create a BPELElementFactory object and initialize it. |
Method Summary | |
public Assign | createAssign(StandardAttributes standardAttributes) Describe createAssign method here. | public BpelCase | createBpelCase(String condition) Create a new BpelCase for the use within a Switch activity. | public Object | createCorrelation(String set, String initiate, String pattern) Create a Correlation with all parameters. | public CorrelationPattern | createCorrelationPattern(String patternString) Create a CorrelationPattern with a patternString. | public From | createFrom(String variable, String part, String property, String partnerLink, String endpointReference, String expression, String opaque) Create a From with all possible attributes. | public Object | createInvoke(StandardAttributes standardAttributes, String partnerLinkName, String portTypeString, String operation, String inVariableName, String outVariableName) Create an Invoke Activity with all possible attributes. | public PartnerLink | createPartnerLink(String partnerLinkName, String partnerLinkType, String myRole, String partnerRole) Create a PartnerLink with all possible attributes. | public Process | createProcess(String name, String targetNamespace, String queryLanguage, String expressionLanguage, String suppressJoinFailure, String enableInstanceCompensation, String abstractProcess, String xmlns, Map nameSpaces) Create a Process instance with all possible attributes. | public Receive | createReceive(StandardAttributes standardAttributes, String partnerLinkName, String portTypeString, String operation, String variableName, String createInstance) Create a Receive Activity with all possible attributes. | public Reply | createReply(StandardAttributes attributes, String partnerLink, String portType, String operation, String variable, String faultName) Describe createReply method here. | public Sequence | createSequence(StandardAttributes standardAttributes) Create a new Sequence BPEL activity. | public Object | createSwitch(StandardAttributes standardAttributes) Describe createSwitch method here. | public To | createTo(String variable, String part, String property, String partnerLink) Create a To with all possible attributes. | public Variable | createVariable(String name, String messageType, String type, String element) Create a Variable with all possible attributes. | public Variables | createVariables() Describe createVariables method here. | public static BPELElementFactory | getInstance(BPELProcess process) Create a new factory instance or if one already exists for this
BPELProcessm, retrieve the existing one. | public PartnerLink | retrievePartnerLink(String partnerLinkName) Retrieve an already created PartnerLink for an Activity using
partnerLinks. | public Variable | retrieveVariable(String variableName) Retrieve an already created Variable for an Activity using variables. |
BPELElementFactory | public BPELElementFactory()(Code) | | Create a BPELElementFactory object and initialize it.
|
createAssign | public Assign createAssign(StandardAttributes standardAttributes)(Code) | | Describe createAssign method here.
Parameters: standardAttributes - assign BPEL activity |
createBpelCase | public BpelCase createBpelCase(String condition)(Code) | | Create a new BpelCase for the use within a Switch activity. Create this
BpelCase with a boolean condition used for selecting the BpelCase among
all cases within a Switch.
Parameters: condition - |
createCorrelation | public Object createCorrelation(String set, String initiate, String pattern)(Code) | | Create a Correlation with all parameters. If the pattern parameter is
null or empty, no CorrelationPattern object will be set.
Parameters: set - Parameters: initiate - Parameters: pattern - |
createCorrelationPattern | public CorrelationPattern createCorrelationPattern(String patternString)(Code) | | Create a CorrelationPattern with a patternString.
Parameters: patternString - a String value a CorrelationPattern object |
createFrom | public From createFrom(String variable, String part, String property, String partnerLink, String endpointReference, String expression, String opaque)(Code) | | Create a From with all possible attributes. Variables and PartnerLinks
will not be created but retrieved from the enclosing process instead.
Parameters: variable - Parameters: part - Parameters: property - Parameters: partnerLink - Parameters: endpointReference - Parameters: expression - Parameters: opaque - |
createInvoke | public Object createInvoke(StandardAttributes standardAttributes, String partnerLinkName, String portTypeString, String operation, String inVariableName, String outVariableName)(Code) | | Create an Invoke Activity with all possible attributes. An Invoke created
this way will be linked with already defined and existing Variables and
PartnerLinks.
Parameters: standardAttributes - a StandardAttributes value Parameters: partnerLinkName - a String value Parameters: portTypeString - a String value Parameters: operation - Parameters: inVariableName - a String value Parameters: outVariableName - a String value |
createPartnerLink | public PartnerLink createPartnerLink(String partnerLinkName, String partnerLinkType, String myRole, String partnerRole)(Code) | | Create a PartnerLink with all possible attributes. Register the created
PartnerLink for retrieval by an Activity using PartnerLinks.
Parameters: partnerLinkName - Parameters: partnerLinkType - Parameters: myRole - Parameters: partnerRole - |
createProcess | public Process createProcess(String name, String targetNamespace, String queryLanguage, String expressionLanguage, String suppressJoinFailure, String enableInstanceCompensation, String abstractProcess, String xmlns, Map nameSpaces)(Code) | | Create a Process instance with all possible attributes. Default values
will be set when an attribute is empty or null.
Parameters: name - Parameters: targetNamespace - Parameters: queryLanguage - Parameters: expressionLanguage - Parameters: suppressJoinFailure - Parameters: enableInstanceCompensation - Parameters: abstractProcess - Parameters: xmlns - Parameters: nameSpaces - |
createReceive | public Receive createReceive(StandardAttributes standardAttributes, String partnerLinkName, String portTypeString, String operation, String variableName, String createInstance)(Code) | | Create a Receive Activity with all possible attributes. A Receive created
this way will be linked with an already defined existing Variables.
Parameters: standardAttributes - a StandardAttributes value Parameters: partnerLinkName - a String value Parameters: portTypeString - a String value Parameters: operation - Parameters: variableName - a String value Parameters: createInstance - Receive activity |
createReply | public Reply createReply(StandardAttributes attributes, String partnerLink, String portType, String operation, String variable, String faultName)(Code) | | Describe createReply method here.
Parameters: attributes - Parameters: partnerLink - Parameters: portType - Parameters: operation - Parameters: variable - Parameters: faultName - |
createSequence | public Sequence createSequence(StandardAttributes standardAttributes)(Code) | | Create a new Sequence BPEL activity.
Parameters: standardAttributes - a StandardAttributes value Sequence activity |
createSwitch | public Object createSwitch(StandardAttributes standardAttributes)(Code) | | Describe createSwitch method here.
Parameters: standardAttributes - |
createTo | public To createTo(String variable, String part, String property, String partnerLink)(Code) | | Create a To with all possible attributes. Variables and PartnerLinks will
not be created but retrieved from the enclosing process instead.
Parameters: variable - Parameters: part - Parameters: property - Parameters: partnerLink - |
createVariable | public Variable createVariable(String name, String messageType, String type, String element)(Code) | | Create a Variable with all possible attributes. Register the created
Variable for retrieval by an invoke or receive element.
Parameters: name - Parameters: messageType - Parameters: type - Parameters: element - a Variable value |
createVariables | public Variables createVariables()(Code) | | Describe createVariables method here.
|
getInstance | public static BPELElementFactory getInstance(BPELProcess process)(Code) | | Create a new factory instance or if one already exists for this
BPELProcessm, retrieve the existing one.
Parameters: process - |
retrievePartnerLink | public PartnerLink retrievePartnerLink(String partnerLinkName)(Code) | | Retrieve an already created PartnerLink for an Activity using
partnerLinks. If the partnerLinkName is null, empty or a PartnerLink with
this name has not been created, this method will return a null value.
Parameters: partnerLinkName - the name of the PartnerLink to be retrieved. a PartnerLink or null. |
retrieveVariable | public Variable retrieveVariable(String variableName)(Code) | | Retrieve an already created Variable for an Activity using variables. If
the variableName parameter is null, empty or the Variable has not been
created, this method will return null value.
Parameters: variableName - the name of the Variable to be retrieved. a Variable or null if the variableName is null, empty or aVariable with this name has not yet been created. |
|
|