public class ConfigurationFactoryAndSerializerFinder extends java.lang.Object implements XMLToObjectMapper
Modifier and Type | Method and Description |
---|---|
SynapseConfiguration |
getConfiguration(org.apache.axiom.om.OMElement element,
java.util.Properties properties)
This method returns a Processor given an OMElement.
|
java.util.Map |
getFactoryMap()
This method exposes all the ConfigurationFactories and its Extensions
|
static ConfigurationFactoryAndSerializerFinder |
getInstance() |
java.lang.Object |
getObjectFromOMNode(org.apache.axiom.om.OMNode om,
java.util.Properties properties)
Allow the mediator factory finder to act as an XMLToObjectMapper for Mediators
(i.e.
|
static java.util.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,
javax.xml.namespace.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, java.util.Properties properties)
element
- public static org.apache.axiom.om.OMElement serializeConfiguration(SynapseConfiguration synCfg)
synCfg
- public static org.apache.axiom.om.OMElement serializeConfiguration(SynapseConfiguration synCfg, javax.xml.namespace.QName qName)
synCfg
- qName
- javax.xml.stream.XMLStreamException
public java.util.Map getFactoryMap()
public static java.util.Map getSerializerMap()
public java.lang.Object getObjectFromOMNode(org.apache.axiom.om.OMNode om, java.util.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-2022 Apache Software Foundation. All Rights Reserved.