Class CloneMediatorSerializer

  • All Implemented Interfaces:
    MediatorSerializer

    public class CloneMediatorSerializer
    extends AbstractMediatorSerializer
    This will serialize the CloneMediator to the xml configuration as specified bellow
      <clone [continueParent=(true | false)] [iterations="number"] >
       <target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"]
              [endpoint="endpoint_ref"]>
         <sequence>
           (mediator)+
         </sequence>?
         <endpoint>
           endpoint
         </endpoint>?
       </target>+
     </clone>
     
    • Constructor Detail

      • CloneMediatorSerializer

        public CloneMediatorSerializer()
    • Method Detail

      • serializeSpecificMediator

        public org.apache.axiom.om.OMElement serializeSpecificMediator​(Mediator m)
        This method will implement the serializeMediator method of the MediatorSerializer interface and implements the serialization of CloneMediator to its configuration
        Specified by:
        serializeSpecificMediator in class AbstractMediatorSerializer
        Parameters:
        m - Mediator of the type CloneMediator which is subjected to the serialization
        Returns:
        OMElement serialized in to xml from the given parameters
      • getMediatorClassName

        public String getMediatorClassName()
        This method will implement the getMediatorClassName method of the MediatorSerializer interface
        Returns:
        full class name of the Mediator which is serialized by this Serializer