org.apache.synapse.config.xml
Class SamplingThrottleMediatorSerializer
java.lang.Object
org.apache.synapse.config.xml.AbstractMediatorSerializer
org.apache.synapse.config.xml.SamplingThrottleMediatorSerializer
- All Implemented Interfaces:
- MediatorSerializer
public class SamplingThrottleMediatorSerializer
- extends AbstractMediatorSerializer
Serializes the SamplingThrottleMediator
instance
into a XML configuration as follows
<sampler id="string" rate="int"/>
- See Also:
AbstractMediatorSerializer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SamplingThrottleMediatorSerializer
public SamplingThrottleMediatorSerializer()
serializeSpecificMediator
public OMElement serializeSpecificMediator(Mediator mediator)
- Description copied from class:
AbstractMediatorSerializer
- Specific mediator factory implementations should implement this method to build the
Mediator
by the given XML configuration
- Specified by:
serializeSpecificMediator
in class AbstractMediatorSerializer
- Parameters:
mediator
- mediator to be serialized
- Returns:
- serialized element of the mediator
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-2012 Apache Software Foundation. All Rights Reserved.