org.apache.synapse.config.xml
Interface ConfigurationFactory

All Known Implementing Classes:
SynapseXMLConfigurationFactory

public interface ConfigurationFactory

This interface defines the configuration factories of Synapse


Method Summary
 SynapseConfiguration getConfiguration(OMElement element, Properties properties)
          Get (basically builds) the configuration of Synapse built up from an OMElement using the defined factory
 Class getSerializerClass()
          Get the class which serializes the specified element
 QName getTagQName()
          Get the tag QName of the element piece that will be build using the factory
 

Method Detail

getTagQName

QName getTagQName()
Get the tag QName of the element piece that will be build using the factory

Returns:
QName describing the element

getConfiguration

SynapseConfiguration getConfiguration(OMElement element,
                                      Properties properties)
Get (basically builds) the configuration of Synapse built up from an OMElement using the defined factory

Parameters:
element - OMElement describing the configuration to be build
Returns:
SynapseConfiguration build using the relevant factory

getSerializerClass

Class getSerializerClass()
Get the class which serializes the specified element

Returns:
Class defining the Serializer


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.