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, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isContentAware, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn
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-2017 Apache Software Foundation. All Rights Reserved.