Class MediatorFaultHandler


  • public class MediatorFaultHandler
    extends FaultHandler
    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.
    See Also:
    FaultHandler
    • Constructor Detail

      • MediatorFaultHandler

        public MediatorFaultHandler​(Mediator faultMediator)
        Constructs the FaultHandler object for handling mediator faults
        Parameters:
        faultMediator - Mediator in which fault sequence is specified
    • Method Detail

      • getFaultMediator

        public Mediator getFaultMediator()
        Getter for the mediator describing the fault sequence
        Returns:
        Mediator specifying the fault sequence for mediator fault handler
      • setFaultMediator

        public void setFaultMediator​(Mediator faultMediator)
        Setter of the mediator describing the fault sequence
        Parameters:
        faultMediator - Mediator specifying the fault sequence to be used by the handler