public class POJOCommandMediatorFactory extends AbstractMediatorFactory
POJOCommandMediator
instances.
Configuration syntax:
<pojoCommand name="class-name"> <property name="string" value="literal" expression="xpath"? context-name="string"? > either literal or XML child </property> <property name="string" expression="XPATH expression" action=("ReadMessage" | "UpdateMessage" | "ReadAndUpdateMessage") context-name="string"? /> <property name="string" context-name="string" action=("ReadContext" | "UpdateContext" | "ReadAndUpdateContext") expression="XPATH expression"? /> </pojoCommand>
Modifier and Type | Field and Description |
---|---|
protected static javax.xml.namespace.QName |
ATT_ACTION |
protected static javax.xml.namespace.QName |
ATT_CTXNAME |
protected static java.lang.String |
RAUC_ACTION |
protected static java.lang.String |
RAUM_ACTION |
protected static java.lang.String |
RC_ACTION |
protected static java.lang.String |
RM_ACTION |
protected static java.lang.String |
UC_ACTION |
protected static java.lang.String |
UM_ACTION |
ATT_DEFAULT_VALUE, ATT_DESCRIPTION, ATT_EVAL, ATT_EXPRN, ATT_IS_MANDATORY, ATT_KEY, ATT_NAME, ATT_ONERROR, ATT_REGEX, ATT_SEQUENCE, ATT_SOURCE, ATT_STATS, ATT_TARGET, ATT_VALUE, ATT_XPATH, DESCRIPTION_Q, FEATURE_Q, PROP_Q, PROPERTY_GROUP_Q, TARGET_Q
Constructor and Description |
---|
POJOCommandMediatorFactory() |
Modifier and Type | Method and Description |
---|---|
Mediator |
createSpecificMediator(org.apache.axiom.om.OMElement elem,
java.util.Properties properties)
Specific mediator factory implementations should implement this method to build the
Mediator by the given XML configuration |
javax.xml.namespace.QName |
getTagQName()
The QName of this mediator element in the XML config
|
addAllCommentChildrenToList, collectNameValuePairs, createMediator, handleException, handleException, processAuditStatus, processTraceState
protected static final javax.xml.namespace.QName ATT_ACTION
protected static final javax.xml.namespace.QName ATT_CTXNAME
protected static final java.lang.String RM_ACTION
protected static final java.lang.String UM_ACTION
protected static final java.lang.String RC_ACTION
protected static final java.lang.String UC_ACTION
protected static final java.lang.String RAUM_ACTION
protected static final java.lang.String RAUC_ACTION
public Mediator createSpecificMediator(org.apache.axiom.om.OMElement elem, java.util.Properties properties)
AbstractMediatorFactory
Mediator
by the given XML configurationcreateSpecificMediator
in class AbstractMediatorFactory
elem
- configuration element describing the properties of the mediatorproperties
- bag of properties to pass in any information to the factorypublic javax.xml.namespace.QName getTagQName()
MediatorFactory
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.