org.apache.synapse.config.xml
Class AbstractMediatorSerializer
java.lang.Object
org.apache.synapse.config.xml.AbstractMediatorSerializer
- All Implemented Interfaces:
- MediatorSerializer
- Direct Known Subclasses:
- AbstractDBMediatorSerializer, AbstractListMediatorSerializer, AggregateMediatorSerializer, CacheMediatorSerializer, CalloutMediatorSerializer, ClassMediatorSerializer, CloneMediatorSerializer, DropMediatorSerializer, FaultMediatorSerializer, HeaderMediatorSerializer, IterateMediatorSerializer, LogMediatorSerializer, POJOCommandMediatorSerializer, PropertyMediatorSerializer, RMSequenceMediatorSerializer, ScriptMediatorSerializer, SendMediatorSerializer, SpringMediatorSerializer, SwitchMediatorSerializer, ThrottleMediatorSerializer, XQueryMediatorSerializer, XSLTMediatorSerializer
public abstract class AbstractMediatorSerializer
- extends Object
- implements MediatorSerializer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
- the standard log for mediators, will assign the logger for the actual subclass
fac
protected static final OMFactory fac
synNS
protected static final OMNamespace synNS
nullNS
protected static final OMNamespace nullNS
PROP_Q
protected static final QName PROP_Q
AbstractMediatorSerializer
protected AbstractMediatorSerializer()
- A constructor that makes subclasses pick up the correct logger
saveTracingState
protected static void saveTracingState(OMElement mediatorOmElement,
Mediator mediator)
- Perform common functions and finalize the mediator serialization.
i.e. process any common attributes
- Parameters:
mediatorOmElement - the OMElement being createdmediator - the Mediator instance being serialized
serializeMediatorProperties
protected void serializeMediatorProperties(OMElement parent,
Collection props)
serializeProperties
protected void serializeProperties(OMElement parent,
Collection props)
serializeNamespaces
protected void serializeNamespaces(OMElement elem,
AXIOMXPath xpath)
handleException
protected void handleException(String msg)
handleException
protected void handleException(String msg,
Exception e)
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.