public class ConfigurationFactoryAndSerializerFinder extends Object implements XMLToObjectMapper
Modifier and Type | Method and Description |
---|---|
SynapseConfiguration |
getConfiguration(org.apache.axiom.om.OMElement element,
Properties properties)
This method returns a Processor given an OMElement.
|
Map |
getFactoryMap()
This method exposes all the ConfigurationFactories and its Extensions
|
static ConfigurationFactoryAndSerializerFinder |
getInstance() |
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 Map |
getSerializerMap()
This method exposes all the ConfigurationSerializer and its Extensions
|
static void |
reset()
Force re initialization next time
|
static org.apache.axiom.om.OMElement |
serializeConfiguration(SynapseConfiguration synCfg) |
static org.apache.axiom.om.OMElement |
serializeConfiguration(SynapseConfiguration synCfg,
QName qName)
This method will serialize the config using the supplied QName
(looking up the right class to do it)
|
public static ConfigurationFactoryAndSerializerFinder getInstance()
public static void reset()
public SynapseConfiguration getConfiguration(org.apache.axiom.om.OMElement element, Properties properties)
element
- public static org.apache.axiom.om.OMElement serializeConfiguration(SynapseConfiguration synCfg)
synCfg
- public static org.apache.axiom.om.OMElement serializeConfiguration(SynapseConfiguration synCfg, QName qName)
synCfg
- qName
- XMLStreamException
public Map getFactoryMap()
public static Map getSerializerMap()
public Object getObjectFromOMNode(org.apache.axiom.om.OMNode om, Properties properties)
getObjectFromOMNode
in interface XMLToObjectMapper
om
- configuration from which the object is builtproperties
- bag of properties to pass in any information to the factoryCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.