public class MediatorFactoryFinder extends Object implements XMLToObjectMapper
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
getCallTemplateFromConnector(org.apache.axiom.om.OMElement connectorElem,
String libraryName) |
InvokeMediator |
getDynamicInvokeMediator(org.apache.axiom.om.OMElement connectorElem,
String libraryName) |
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.
|
Map<String,SynapseImport> |
getSynapseImportMap() |
Map<String,Library> |
getSynapseLibraryMap() |
static void |
main(String[] args) |
static void |
reset()
Force re initialization next time
|
void |
setSynapseImportMap(Map<String,SynapseImport> synapseImportMap) |
void |
setSynapseLibraryMap(Map<String,Library> synapseLibraryMap) |
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 factorypublic Map<String,SynapseImport> getSynapseImportMap()
public void setSynapseImportMap(Map<String,SynapseImport> synapseImportMap)
public org.apache.axiom.om.OMElement getCallTemplateFromConnector(org.apache.axiom.om.OMElement connectorElem, String libraryName)
public InvokeMediator getDynamicInvokeMediator(org.apache.axiom.om.OMElement connectorElem, String libraryName)
Copyright © 2005–2023 Apache Software Foundation. All rights reserved.