org.apache.synapse.processors.mediatortypes.axis2
Class ServiceMediatorProcessor

java.lang.Object
  extended byorg.apache.synapse.processors.AbstractProcessor
      extended byorg.apache.synapse.processors.mediatortypes.axis2.ServiceMediatorProcessor
All Implemented Interfaces:
Processor

public class ServiceMediatorProcessor
extends AbstractProcessor

This class executes a service in the "owning" axis2 engine. The service operation will be "mediate" and the service name is set as the ServiceName property


Constructor Summary
ServiceMediatorProcessor()
           
 
Method Summary
 java.lang.String getServiceName()
           
 boolean process(SynapseEnvironment se, SynapseMessage smc)
          This method is used to process a message.
 void setServiceName(java.lang.String serviceName)
           
 
Methods inherited from class org.apache.synapse.processors.AbstractProcessor
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceMediatorProcessor

public ServiceMediatorProcessor()
Method Detail

process

public boolean process(SynapseEnvironment se,
                       SynapseMessage smc)
Description copied from interface: Processor
This method is used to process a message. A response of true indicates continue processing. A response of false indicates to stop processing.


setServiceName

public void setServiceName(java.lang.String serviceName)

getServiceName

public java.lang.String getServiceName()