|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VariableContext
Engine provided methods for variable management.
| Nested Class Summary | |
|---|---|
static class |
VariableContext.ValueReferencePair
|
| Method Summary | |
|---|---|
void |
commitChanges(Variable var,
org.w3c.dom.Node changes)
Save changes to variable. |
org.w3c.dom.Node |
convertEndpointReference(org.w3c.dom.Element epr,
org.w3c.dom.Node targetNode)
|
java.lang.Long |
createScopeInstance(java.lang.Long parentScopeId,
java.lang.String scopename,
int scopemodelid)
Create a scope instance object. |
org.w3c.dom.Element |
fetchMyRoleEndpointReferenceData(PartnerLink plink)
Fetches the my-role endpoint reference data. |
java.lang.String |
fetchMySessionId(PartnerLink pLink)
Fetches our session id associated with the partner link instance. |
org.w3c.dom.Element |
fetchPartnerRoleEndpointReferenceData(PartnerLink pLink)
|
java.lang.String |
fetchPartnersSessionId(PartnerLink pLink)
Fetches the partner's session id associated with the partner link instance. |
org.w3c.dom.Node |
fetchVariableData(Variable var,
boolean forWriting)
Fetch variable data from store. |
void |
initializePartnerLinks(java.lang.Long parentScopeId,
java.util.Collection<? extends PartnerLinkModel> partnerLinks)
Initializes endpoint references for partner links inside a scope. |
void |
initializePartnersSessionId(PartnerLink pLink,
java.lang.String session)
Initialize the partner's session id for this partner link instance. |
org.w3c.dom.Node |
initializeVariable(Variable var,
org.w3c.dom.Node initData)
Initialize variable with a value. |
boolean |
isCorrelationInitialized(CorrelationSet cset)
|
boolean |
isPartnerRoleEndpointInitialized(PartnerLink pLink)
Determine if the partner role of an endpoint has been initialized (either explicitly throug assginment or via the deployment descriptor) |
boolean |
isVariableInitialized(Variable variable)
Checks for variable initialization, i.e. |
CorrelationKey |
readCorrelation(CorrelationSet cset)
|
org.w3c.dom.Node |
readExtVar(Variable variable,
org.w3c.dom.Node reference)
|
java.lang.String |
readVariableProperty(Variable variable,
javax.xml.namespace.QName property)
Read variable property. |
void |
writeCorrelation(CorrelationSet cset,
javax.xml.namespace.QName[] propNames,
CorrelationKey correlation)
|
void |
writeEndpointReference(PartnerLink partnerLink,
org.w3c.dom.Element data)
Writes a partner EPR. |
VariableContext.ValueReferencePair |
writeExtVar(Variable variable,
org.w3c.dom.Node reference,
org.w3c.dom.Node value)
|
void |
writeVariableProperty(Variable variable,
javax.xml.namespace.QName property,
java.lang.String value)
Write variable property. |
| Method Detail |
|---|
java.lang.Long createScopeInstance(java.lang.Long parentScopeId,
java.lang.String scopename,
int scopemodelid)
parentScopeId - id of parent scope (null if root scope)scopename - the type of scope, i.e. the name of the scope
boolean isVariableInitialized(Variable variable)
variable - variable
true if initialized
org.w3c.dom.Node fetchVariableData(Variable var,
boolean forWriting)
void commitChanges(Variable var,
org.w3c.dom.Node changes)
var - variable identifierchanges - changes
org.w3c.dom.Node initializeVariable(Variable var,
org.w3c.dom.Node initData)
var - variable identifierinitData - value
org.w3c.dom.Node readExtVar(Variable variable,
org.w3c.dom.Node reference)
throws ExternalVariableModuleException
ExternalVariableModuleException
VariableContext.ValueReferencePair writeExtVar(Variable variable,
org.w3c.dom.Node reference,
org.w3c.dom.Node value)
throws ExternalVariableModuleException
ExternalVariableModuleException
java.lang.String readVariableProperty(Variable variable,
javax.xml.namespace.QName property)
throws UninitializedVariableException
variable - property -
UninitializedVariableException
void writeVariableProperty(Variable variable,
javax.xml.namespace.QName property,
java.lang.String value)
throws UninitializedVariableException
variable - property - value -
UninitializedVariableException
void initializePartnerLinks(java.lang.Long parentScopeId,
java.util.Collection<? extends PartnerLinkModel> partnerLinks)
parentScopeId - partnerLinks - org.w3c.dom.Element fetchMyRoleEndpointReferenceData(PartnerLink plink)
plink -
FaultExceptionorg.w3c.dom.Element fetchPartnerRoleEndpointReferenceData(PartnerLink pLink)
boolean isPartnerRoleEndpointInitialized(PartnerLink pLink)
pLink - partner link
java.lang.String fetchMySessionId(PartnerLink pLink)
pLink - partner linkjava.lang.String fetchPartnersSessionId(PartnerLink pLink)
pLink - partner link
void initializePartnersSessionId(PartnerLink pLink,
java.lang.String session)
pLink - partner linksession - session identifier
void writeEndpointReference(PartnerLink partnerLink,
org.w3c.dom.Element data)
partnerLink - data -
FaultException
org.w3c.dom.Node convertEndpointReference(org.w3c.dom.Element epr,
org.w3c.dom.Node targetNode)
boolean isCorrelationInitialized(CorrelationSet cset)
CorrelationKey readCorrelation(CorrelationSet cset)
void writeCorrelation(CorrelationSet cset,
javax.xml.namespace.QName[] propNames,
CorrelationKey correlation)
throws FaultException
FaultException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||