public class ContinuationStackManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SKIP_CONTINUATION_STATE |
| Constructor and Description |
|---|
ContinuationStackManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addReliantContinuationState(MessageContext synCtx,
int subBranch,
int position)
Add a ReliantContinuationState to the top SeqContinuationState in the stack.
|
static void |
addSeqContinuationState(MessageContext synCtx,
String seqName,
SequenceType seqType)
Add new SeqContinuationState to the stack.
|
static void |
clearStack(MessageContext synCtx)
Remove all ContinuationStates from ContinuationState Stack
|
static SeqContinuationState |
getClonedSeqContinuationState(SeqContinuationState oriSeqContinuationState)
Get a clone of a SeqContinuationState
|
static boolean |
isSkipSeqContinuationStateAddition(MessageContext synCtx)
Check whether sequence continuation state addition need to be skipped
|
static ContinuationState |
peakContinuationStateStack(MessageContext synCtx)
Peek from Continuation Stack
|
static void |
popContinuationStateStack(MessageContext synCtx)
Pop from Continuation Stack
|
static void |
pushFaultHandler(MessageContext synCtx,
SeqContinuationState seqContState)
Push fault handler for the received continuation call response.
|
static void |
removeReliantContinuationState(MessageContext synCtx)
Remove a ReliantContinuationState from the top SeqContinuationState in the stack.
|
static void |
removeSeqContinuationState(MessageContext synCtx,
SequenceType seqType)
Remove top SeqContinuationState from the stack.
|
static SequenceMediator |
retrieveSequence(MessageContext synCtx,
SeqContinuationState seqContState)
Retrieve the sequence from Continuation state which message should be injected to.
|
static void |
updateSeqContinuationState(MessageContext synCtx,
int position)
Update SeqContinuationState with the current mediator position in the sequence.
|
public static final String SKIP_CONTINUATION_STATE
public static void addSeqContinuationState(MessageContext synCtx, String seqName, SequenceType seqType)
synCtx - Message ContextseqName - Name of the branching sequenceseqType - Sequence Typepublic static boolean isSkipSeqContinuationStateAddition(MessageContext synCtx)
synCtx - message contextpublic static void removeSeqContinuationState(MessageContext synCtx, SequenceType seqType)
synCtx - Message Contextpublic static void updateSeqContinuationState(MessageContext synCtx, int position)
synCtx - Message Contextpublic static void addReliantContinuationState(MessageContext synCtx, int subBranch, int position)
synCtx - Message ContextsubBranch - Sub branch idpublic static void removeReliantContinuationState(MessageContext synCtx)
synCtx - MessageContextpublic static SeqContinuationState getClonedSeqContinuationState(SeqContinuationState oriSeqContinuationState)
oriSeqContinuationState - original SeqContinuationStatepublic static void clearStack(MessageContext synCtx)
synCtx - MessageContextpublic static ContinuationState peakContinuationStateStack(MessageContext synCtx)
public static void popContinuationStateStack(MessageContext synCtx)
public static SequenceMediator retrieveSequence(MessageContext synCtx, SeqContinuationState seqContState)
seqContState - SeqContinuationState which contain the sequence informationsynCtx - message contextpublic static void pushFaultHandler(MessageContext synCtx, SeqContinuationState seqContState)
seqContState - SeqContinuationState which contain the sequence informationsynCtx - message contextCopyright © 2005–2019 Apache Software Foundation. All rights reserved.