org.apache.synapse.processors.mediatortypes
Class ClassMediatorProcessor

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

public class ClassMediatorProcessor
extends AbstractProcessor

This executes the "mediate" operation on a new instance of the specified class TODO add support for simple properties to be set


Constructor Summary
ClassMediatorProcessor()
           
 
Method Summary
 java.lang.Class getClazz()
           
 boolean process(SynapseEnvironment se, SynapseMessage smc)
          This method is used to process a message.
 void setClazz(java.lang.Class clazz)
           
 
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

ClassMediatorProcessor

public ClassMediatorProcessor()
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.


setClazz

public void setClazz(java.lang.Class clazz)

getClazz

public java.lang.Class getClazz()