org.apache.synapse.config.xml
Class AggregateMediatorSerializer

java.lang.Object
  extended by org.apache.synapse.config.xml.AbstractMediatorSerializer
      extended by org.apache.synapse.config.xml.AggregateMediatorSerializer
All Implemented Interfaces:
MediatorSerializer

public class AggregateMediatorSerializer
extends AbstractMediatorSerializer

Serializer for AggregateMediator instances.

 <aggregate>
   <correlateOn expression="xpath"/>?
   <completeCondition [timeout="time-in-seconds"]>
     <messageCount min="int-min" max="int-max"/>?
   </completeCondition>?
   <onComplete expression="xpath" [sequence="sequence-ref"]>
     (mediator +)?
   </onComplete>
 </aggregate>
 


Field Summary
 
Fields inherited from class org.apache.synapse.config.xml.AbstractMediatorSerializer
fac, nullNS, PROP_Q, synNS
 
Constructor Summary
AggregateMediatorSerializer()
           
 
Method Summary
 String getMediatorClassName()
          Return the class name of the mediator which can be serialized
 OMElement serializeMediator(OMElement parent, Mediator m)
          Return the XML representation of this mediator
 
Methods inherited from class org.apache.synapse.config.xml.AbstractMediatorSerializer
handleException, handleException, saveTracingState, serializeMediatorProperties, serializeNamespaces, serializeProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateMediatorSerializer

public AggregateMediatorSerializer()
Method Detail

serializeMediator

public OMElement serializeMediator(OMElement parent,
                                   Mediator m)
Description copied from interface: MediatorSerializer
Return the XML representation of this mediator

Parameters:
parent - the OMElement to which the serialization should be attached
m - mediator to be serialized
Returns:
the serialized mediator XML

getMediatorClassName

public String getMediatorClassName()
Description copied from interface: MediatorSerializer
Return the class name of the mediator which can be serialized

Returns:
the class name


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.