Package org.apache.synapse.debug.utils
Class MediatorTreeTraverseUtil
- java.lang.Object
-
- org.apache.synapse.debug.utils.MediatorTreeTraverseUtil
-
public class MediatorTreeTraverseUtil extends Object
Helper class to locate a mediator while traversing the mediator tree given relative child position array starting from parent root of tree to the particular mediator.
-
-
Constructor Summary
Constructors Constructor Description MediatorTreeTraverseUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Mediator
getMediatorReference(SynapseConfiguration synCfg, Mediator seqMediator, int[] position)
Returns mediator referece associated with position while traversing the mediator tree.
-
-
-
Method Detail
-
getMediatorReference
public static Mediator getMediatorReference(SynapseConfiguration synCfg, Mediator seqMediator, int[] position)
Returns mediator referece associated with position while traversing the mediator tree.- Parameters:
synCfg
- synapse configuration referenceseqMediator
- sequence mediator which traverse happensposition
- array of tree nodes specifying position integer with respect to it's parent node starting from the root parent.- Returns:
- Mediator reference
-
-