public class AnnotatedCommandMediator extends POJOCommandMediator
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.reflect.Field,SynapseXPath> |
afterFields |
protected java.util.Map<java.lang.reflect.Method,SynapseXPath> |
afterMethods |
protected java.util.Map<java.lang.reflect.Field,SynapseXPath> |
beforeFields |
protected java.util.Map<java.lang.reflect.Method,SynapseXPath> |
beforeMethods |
log, trace, traceState
Constructor and Description |
---|
AnnotatedCommandMediator() |
Modifier and Type | Method and Description |
---|---|
protected SynapseXPath |
createSynapseXPATH(java.lang.String xpath,
Namespaces nsAnnotation)
Create an SynapseXPath from an xpath string
|
protected java.util.Map<java.lang.String,java.lang.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(java.lang.Class<?> commandClass)
Introspect the command class annotations
|
boolean |
mediate(MessageContext synCtx)
Implements the mediate method of the Mediator interface.
|
void |
setCommand(java.lang.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 java.util.Map<java.lang.reflect.Field,SynapseXPath> beforeFields
protected java.util.Map<java.lang.reflect.Method,SynapseXPath> beforeMethods
protected java.util.Map<java.lang.reflect.Field,SynapseXPath> afterFields
protected java.util.Map<java.lang.reflect.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(java.lang.Class commandClass)
setCommand
in class POJOCommandMediator
protected void introspectClass(java.lang.Class<?> commandClass)
protected SynapseXPath createSynapseXPATH(java.lang.String xpath, Namespaces nsAnnotation)
protected java.util.Map<java.lang.String,java.lang.String> getNamespaces(Namespaces namespaces)
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.