public class CacheMediatorSerializer
extends org.apache.synapse.config.xml.AbstractMediatorSerializer
<cache [id="string"] [hashGenerator="class"] [timeout="seconds"] [scope=(per-host | per-mediator)] collector=(true | false) [maxMessageSize="in-bytes"]> <onCacheHit [sequence="key"]> (mediator)+ </onCacheHit>? <implementation type=(memory | disk) maxSize="int"/> </cache>
Constructor and Description |
---|
CacheMediatorSerializer() |
Modifier and Type | Method and Description |
---|---|
String |
getMediatorClassName() |
protected void |
serializeChildren(org.apache.axiom.om.OMElement parent,
List<org.apache.synapse.Mediator> list)
Creates XML representation of the child mediators
|
org.apache.axiom.om.OMElement |
serializeSpecificMediator(org.apache.synapse.Mediator m) |
public org.apache.axiom.om.OMElement serializeSpecificMediator(org.apache.synapse.Mediator m)
serializeSpecificMediator
in class org.apache.synapse.config.xml.AbstractMediatorSerializer
public String getMediatorClassName()
protected void serializeChildren(org.apache.axiom.om.OMElement parent, List<org.apache.synapse.Mediator> list)
parent
- The mediator for which the XML representation child should be attachedlist
- The mediators list for which the XML representation should be createdCopyright © 2017 WSO2. All rights reserved.