org.apache.synapse.mediators.builtin
Class CalloutMediator
java.lang.Object
org.apache.synapse.mediators.AbstractMediator
org.apache.synapse.mediators.builtin.CalloutMediator
All Implemented Interfaces: AspectConfigurable , ManagedLifecycle , Mediator , SynapseArtifact
public class CalloutMediator extends AbstractMediator implements ManagedLifecycle
?
Methods inherited from class org.apache.synapse.mediators.AbstractMediator
auditLog , auditWarn , configure , disableStatistics , enableStatistics , getAspectConfiguration , getDescription , getLog , getTraceState , getType , handleException , handleException , isStatisticsEnable , isTraceOn , isTraceOrDebugOn , setDescription , setEffectiveTraceState , setTraceState , shouldTrace , traceOrDebug , traceOrDebugWarn
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
DEFAULT_CLIENT_REPO
public static final String DEFAULT_CLIENT_REPO
See Also: Constant Field Values
DEFAULT_AXIS2_XML
public static final String DEFAULT_AXIS2_XML
See Also: Constant Field Values
CalloutMediator
public CalloutMediator ()
mediate
public boolean mediate (MessageContext synCtx)
Description copied from interface: Mediator
Invokes the mediator passing the current message for mediation. Each
mediator performs its mediation action, and returns true if mediation
should continue, or false if further mediation should be aborted.
Specified by: mediate
in interface Mediator
Parameters: synCtx
- the current message for mediation
Returns: true if further mediation should continue
init
public void init (SynapseEnvironment synEnv)
Description copied from interface: ManagedLifecycle
This method should implement the initialization of the
implemented parts of the configuration.
Specified by: init
in interface ManagedLifecycle
Parameters: synEnv
- SynapseEnvironment to be used for initialization
destroy
public void destroy ()
Description copied from interface: ManagedLifecycle
This method should implement the destroying of the
implemented parts of the configuration.
Specified by: destroy
in interface ManagedLifecycle
getServiceURL
public String getServiceURL ()
setServiceURL
public void setServiceURL (String serviceURL)
getAction
public String getAction ()
setAction
public void setAction (String action)
getRequestKey
public String getRequestKey ()
setRequestKey
public void setRequestKey (String requestKey)
setRequestXPath
public void setRequestXPath (SynapseXPath requestXPath)
throws JaxenException
Throws:
JaxenException
setTargetXPath
public void setTargetXPath (SynapseXPath targetXPath)
throws JaxenException
Throws:
JaxenException
getTargetKey
public String getTargetKey ()
setTargetKey
public void setTargetKey (String targetKey)
getRequestXPath
public SynapseXPath getRequestXPath ()
getTargetXPath
public SynapseXPath getTargetXPath ()
getClientRepository
public String getClientRepository ()
setClientRepository
public void setClientRepository (String clientRepository)
getAxis2xml
public String getAxis2xml ()
setAxis2xml
public void setAxis2xml (String axis2xml)
Copyright © 2005-2012 Apache Software Foundation . All Rights Reserved.