public class AnnotatedCommandMediator extends POJOCommandMediator
Modifier and Type | Field and Description |
---|---|
protected Map<Field,SynapseXPath> |
afterFields |
protected Map<Method,SynapseXPath> |
afterMethods |
protected Map<Field,SynapseXPath> |
beforeFields |
protected Map<Method,SynapseXPath> |
beforeMethods |
log, trace, traceState
Constructor and Description |
---|
AnnotatedCommandMediator() |
Modifier and Type | Method and Description |
---|---|
protected SynapseXPath |
createSynapseXPATH(String xpath,
Namespaces nsAnnotation)
Create an SynapseXPath from an xpath string
|
protected Map<String,String> |
getNamespaces(Namespaces namespaces)
Creates a Map of namespace prefixes and namespaces from a Namespace annotation
and the default Namespace annotation on the command class.
|
protected void |
introspectClass(Class<?> commandClass)
Introspect the command class annotations
|
boolean |
mediate(MessageContext synCtx)
Implements the mediate method of the Mediator interface.
|
void |
setCommand(Class commandClass) |
addContextGetterProperty, addContextSetterProperty, addMessageGetterProperty, addMessageSetterProperty, addStaticSetterProperty, getCommand, getContextGetterProperties, getContextSetterProperties, getMessageGetterProperties, getMessageSetterProperties, getStaticSetterProperties
auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getInputType, getLastSequenceFaultHandler, getLog, getMediatorName, getMediatorPosition, getOutputType, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, getType, handleException, handleException, isBreakPoint, isContentAltering, isContentAware, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
protected Map<Field,SynapseXPath> beforeFields
protected Map<Method,SynapseXPath> beforeMethods
protected Map<Field,SynapseXPath> afterFields
protected Map<Method,SynapseXPath> afterMethods
public boolean mediate(MessageContext synCtx)
POJOCommandMediator
mediate
in interface Mediator
mediate
in class POJOCommandMediator
synCtx
- - Synapse MessageContext to be mediatedpublic void setCommand(Class commandClass)
setCommand
in class POJOCommandMediator
protected void introspectClass(Class<?> commandClass)
protected SynapseXPath createSynapseXPATH(String xpath, Namespaces nsAnnotation)
protected Map<String,String> getNamespaces(Namespaces namespaces)
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.