org.apache.synapse.xml
Class ProcessorConfiguratorFinder

java.lang.Object
  extended byorg.apache.synapse.xml.ProcessorConfiguratorFinder

public class ProcessorConfiguratorFinder
extends java.lang.Object

This class is based on J2SE Service Provider model http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Service%20Provider


Constructor Summary
ProcessorConfiguratorFinder()
           
 
Method Summary
static java.lang.Class find(javax.xml.namespace.QName qn)
           
static Processor getProcessor(SynapseEnvironment synapseEnv, org.apache.axis2.om.OMElement element)
          This method returns a Processor given an OMElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessorConfiguratorFinder

public ProcessorConfiguratorFinder()
Method Detail

find

public static java.lang.Class find(javax.xml.namespace.QName qn)
Parameters:
qn -
Returns:
the class which implements the Processor for the given QName

getProcessor

public static Processor getProcessor(SynapseEnvironment synapseEnv,
                                     org.apache.axis2.om.OMElement element)
This method returns a Processor given an OMElement. This will be used recursively by the elements which contain processor elements themselves (e.g. rules)

Parameters:
synapseEnv -
element -
Returns:
Processor