public class MediatorFactoryFinder extends Object implements XMLToObjectMapper
Modifier and Type | Method and Description |
---|---|
Map<QName,Class> |
getFactoryMap()
This method exposes all the MediatorFactories and its Extensions
|
static MediatorFactoryFinder |
getInstance() |
Mediator |
getMediator(org.apache.axiom.om.OMElement element,
Properties properties)
This method returns a Processor given an OMElement.
|
Object |
getObjectFromOMNode(org.apache.axiom.om.OMNode om,
Properties properties)
Allow the mediator factory finder to act as an XMLToObjectMapper for Mediators
(i.e.
|
static void |
reset()
Force re initialization next time
|
public static MediatorFactoryFinder getInstance()
public static void reset()
public Mediator getMediator(org.apache.axiom.om.OMElement element, Properties properties)
element
- XML representation of a mediatorproperties
- bag of properties to pass in any information to the factorypublic Map<QName,Class> getFactoryMap()
public Object getObjectFromOMNode(org.apache.axiom.om.OMNode om, Properties properties)
getObjectFromOMNode
in interface XMLToObjectMapper
om
- node from which the object is expectedproperties
- bag of properties to pass in any information to the factoryCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.