public abstract class AbstractMediator extends Object implements Mediator
Modifier and Type | Field and Description |
---|---|
protected static QName |
ATT_EXPRN |
protected static QName |
ATT_KEY |
protected static QName |
ATT_NAME |
protected static QName |
ATT_ONERROR |
protected static QName |
ATT_REGEX |
protected static QName |
ATT_SEQUENCE |
protected static QName |
ATT_SOURCE |
protected static QName |
ATT_STATS |
protected static QName |
ATT_TARGET |
protected static QName |
ATT_VALUE |
protected static QName |
ATT_XPATH |
protected static org.apache.axiom.om.OMFactory |
fac |
protected static QName |
FEATURE_Q |
protected static org.apache.axiom.om.OMNamespace |
nullNS |
protected static QName |
PROP_Q |
protected static org.apache.axiom.om.OMNamespace |
synNS |
protected static QName |
TARGET_Q |
Constructor and Description |
---|
AbstractMediator() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
collectNameValuePairs(org.apache.axiom.om.OMElement elem,
QName childElementName) |
void |
disableStatistics()
Disable statistics for mediator
|
void |
enableStatistics()
Enable statistics for the mediator
|
static List<MediatorProperty> |
getMediatorProperties(org.apache.axiom.om.OMElement elem) |
int |
getTraceState()
Get the tracing state
|
boolean |
isAuditConfigurable()
Is this mediator audit configurable.
|
boolean |
isStatisticsEnable()
Whether statistics has been enabled
|
protected void |
processAuditStatus(Mediator mediator,
org.apache.axiom.om.OMElement mediatorOmElement) |
protected static void |
saveTracingState(org.apache.axiom.om.OMElement mediatorOmElement,
Mediator mediator) |
protected void |
serializeMediatorProperties(org.apache.axiom.om.OMElement parent,
Collection<MediatorProperty> props,
QName childElementName) |
protected void |
serializeNamespaces(org.apache.axiom.om.OMElement elem,
org.apache.axiom.om.xpath.AXIOMXPath xpath) |
void |
setAuditConfigurable(boolean auditConfigurable) |
void |
setTraceState(int traceState)
Set the tracing state
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, getTagLocalName, serialize
protected static final org.apache.axiom.om.OMFactory fac
protected static final org.apache.axiom.om.OMNamespace synNS
protected static final org.apache.axiom.om.OMNamespace nullNS
protected static final QName ATT_NAME
protected static final QName ATT_VALUE
protected static final QName ATT_XPATH
protected static final QName ATT_REGEX
protected static final QName ATT_SEQUENCE
protected static final QName ATT_EXPRN
protected static final QName ATT_KEY
protected static final QName ATT_SOURCE
protected static final QName ATT_TARGET
protected static final QName ATT_ONERROR
protected static final QName ATT_STATS
protected static final QName PROP_Q
protected static final QName FEATURE_Q
protected static final QName TARGET_Q
public boolean isAuditConfigurable()
Mediator
isAuditConfigurable
in interface Mediator
protected static void saveTracingState(org.apache.axiom.om.OMElement mediatorOmElement, Mediator mediator)
protected void serializeMediatorProperties(org.apache.axiom.om.OMElement parent, Collection<MediatorProperty> props, QName childElementName)
public static List<MediatorProperty> getMediatorProperties(org.apache.axiom.om.OMElement elem)
protected void serializeNamespaces(org.apache.axiom.om.OMElement elem, org.apache.axiom.om.xpath.AXIOMXPath xpath)
protected void processAuditStatus(Mediator mediator, org.apache.axiom.om.OMElement mediatorOmElement)
protected Map<String,String> collectNameValuePairs(org.apache.axiom.om.OMElement elem, QName childElementName)
public int getTraceState()
Mediator
getTraceState
in interface Mediator
public void setTraceState(int traceState)
Mediator
setTraceState
in interface Mediator
traceState
- trace state to setpublic boolean isStatisticsEnable()
Mediator
isStatisticsEnable
in interface Mediator
public void disableStatistics()
Mediator
disableStatistics
in interface Mediator
public void enableStatistics()
Mediator
enableStatistics
in interface Mediator
public void setAuditConfigurable(boolean auditConfigurable)
Copyright © 2020 WSO2. All rights reserved.