|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.synapse.FaultHandler org.apache.synapse.mediators.MediatorFaultHandler
public class MediatorFaultHandler
This implements the FaultHandler interface as a mediator fault handler. That is the fault handler is specified by a sequence and this handler implements the logic of handling the fault through the set of mediators present in the sequence.
FaultHandler
Constructor Summary | |
---|---|
MediatorFaultHandler(Mediator faultMediator)
Constructs the FaultHandler object for handling mediator faults |
Method Summary | |
---|---|
Mediator |
getFaultMediator()
Getter for the mediator describing the fault sequence |
void |
onFault(MessageContext synCtx)
Implements the fault handling method for the mediators (basically sequences) |
void |
setFaultMediator(Mediator faultMediator)
Setter of the mediator describing the fault sequence |
Methods inherited from class org.apache.synapse.FaultHandler |
---|
getStackTrace, handleFault, handleFault |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MediatorFaultHandler(Mediator faultMediator)
faultMediator
- Mediator in which fault sequence is specifiedMethod Detail |
---|
public void onFault(MessageContext synCtx) throws SynapseException
onFault
in class FaultHandler
synCtx
- Synapse Message Context of which mediation occurs
SynapseException
- in case there is a failure in the fault executionFaultHandler.handleFault(org.apache.synapse.MessageContext)
public Mediator getFaultMediator()
public void setFaultMediator(Mediator faultMediator)
faultMediator
- Mediator specifying the fault sequence to be used by the handler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |