Package org.apache.synapse.config.xml
Factories and serializers for XML based configuration.
-
Interface Summary Interface Description ConfigurationFactory This interface defines the configuration factories of SynapseConfigurationSerializer This interface defines the configuration serializers of Synapse.IEntryFactory IEntrySerializer MediatorFactory A mediator factory capable of creating an instance of aMediatorthrough a given XML should implement this interfaceMediatorSerializer Interface which should be implemented by mediator serializers.StartupFactory Defines the factories which builds startupsStartupSerializer Defines the serialization of Startups -
Class Summary Class Description AbstractDBMediatorFactory Base class for factories for database related mediators.AbstractDBMediatorSerializer Base class for serializers for database related mediators.AbstractListMediatorFactory This implements the basic logic to build a list mediator from a given XML configuration.AbstractListMediatorSerializer Parent class for all theListMediatorserialization implementations.AbstractMediatorFactory Parent class for all theMediatorFactoryimplementationsAbstractMediatorSerializer Parent class for all theMediatorSerializerimplementationsAggregateMediatorFactory Factory forAggregateMediatorinstances from the config;AggregateMediatorSerializer Serializer forAggregateMediatorinstances.AnnotatedCommandMediatorFactory Creates an instance of a AnnotatedCommand mediator using XML configuration specifiedAnonymousListMediator This mediator represents an unnamed list mediatorAnonymousListMediatorFactory This is factory for creating an anonymous list mediator(an unnamed list of mediators )AnonymousListMediatorSerializer This is Serializer for serialization of an anonymous list mediator(an unnamed list of mediators )BeanMediatorFactory BeanMediatorSerializer CallMediatorFactory Factory forCallMediatorinstances.CallMediatorSerializer Serializer forCallMediatorinstances.CalloutMediatorFactory Factory forCalloutMediatorinstances.CalloutMediatorSerializer <callout serviceURL="string" | endpointKey="string" [action="string"] [initAxis2ClientOptions="boolean"]> <configuration [axis2xml="string"] [repository="string"]/>? <endpoint/>? <source xpath="expression" | key="string" | type="envelope" >? <target xpath="expression" | key="string"/>? <enableSec policy="string" | outboundPolicy="String" | inboundPolicy="String" />? </callout>ClassMediatorFactory Creates an instance of a Class mediator using XML configuration specifiedClassMediatorSerializer <class name="class-name"> <property name="string" (value="literal" | expression="xpath")/>* </class>CloneMediatorFactory The <clone> element is used to copy messages in Synapse to similar messages but with different message contexts and mediated using the specified targetsCloneMediatorSerializer This will serialize the CloneMediator to the xml configuration as specified bellowCommentMediatorFactory Factory for Comment Mediators.CommentMediatorSerializer Serializer for Comment MediatorsCommentSerializer Serialize comment string to an OMComment nodeConditionalRouterMediatorFactory <conditionalRouter continueAfter="(true|false)"> <route breakRoute="(true|false)"> <condition ../> <target ../> </route> </conditionalRouter>ConditionalRouterMediatorSerializer <conditionalRouter continueAfter="(true|false)"> <route breakRoute="(true|false)"> <condition ../> <target ../> </route> </conditionalRouter>ConfigurationFactoryAndSerializerFinder This class is based on J2SE Service Provider model http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Service%20ProviderDBLookupMediatorFactory Factory forDBLookupMediatorinstances.DBLookupMediatorSerializer Serializer forDBLookupMediatorinstances.DBReportMediatorFactory Factory forDBReportMediatorinstances.DBReportMediatorSerializer Serializer forDBReportMediatorinstances.DropMediatorFactory Factory forDropMediatorinstances.DropMediatorSerializer Serializer forDropMediatorinstances.EJBMediatorFactory EJBMediatorSerializer EnqueueMediatorFactory EnqueueMediatorSerializer EnrichMediatorFactory Factory forEnrichMediatorinstances.EnrichMediatorSerializer EntryFactory Factory forEntryinstances.EntrySerializer Serializer forEntryinstances.FaultMediatorFactory Factory forFaultMediatorinstances.FaultMediatorSerializer Serializer forFaultMediatorinstances.FilterMediatorFactory Creates a filter mediator instance with the default behaviorFilterMediatorSerializer <filter (source="xpath" regex="string") | xpath="xpath"> mediator+ </filter>ForEachMediatorFactory ForEachMediatorSerializer Serialize for each mediator as below :HeaderMediatorFactory Factory forHeaderMediatorinstances.HeaderMediatorSerializer Serializer forHeaderMediatorinstances.InMediatorFactory Factory forInMediatorinstances.InMediatorSerializer Factory forInMediatorinstances.InvokeMediatorFactory Builds Invoke mediator from a configuration as... InvokeMediatorSerializer Serialize a Invoke mediator to a configuration given below... IterateMediatorFactory The <iterate> element is used to split messages in Synapse to smaller messages with only one part of the elements described in the XPATH expression.IterateMediatorSerializer This class will be acting as the serializer for the IterateMediator which will convert the IterateMediator instance to the following xml configurationJSONTransformMediatorFactory Mediator Factory for JSON Transform mediatorJSONTransformMediatorSerializer Serializer for JSON Transform mediatorLogMediatorFactory Created a Log mediator that logs messages using commons-logging.LogMediatorSerializer <log [level="simple|headers|full|custom"] [separator="string"] [category="INFO|TRACE|DEBUG|WARN|ERROR|FATAL"]> <property> * </log>LoopBackMediatorFactory LoopBackMediatorSerializer MediatorFactoryFinder This class is based on J2SE Service Provider model http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Service%20ProviderMediatorPropertyFactory A utility class capable of creating instances of MediatorProperty objects by reading through a given XML configurationMediatorPropertySerializer A utility class for serializing instances of MediatorProperty objects by reading through a given XML configurationMediatorSerializerFinder MessageProcessorFactory Create an instance of the given Message processor, and sets properties on it.MessageProcessorSerializer Create an instance of the given Message processor, and sets properties on it.MessageStoreFactory Create an instance of the given Message Store, and sets properties on it.MessageStoreMediatorFactory Creates an instance of a MessageStore mediator using XML configuration specifiedMessageStoreMediatorSerializer Serialize an instance of a MessageStore mediator to the XML configuration .MessageStoreSerializer Serialize an instance of the given Message Store, and sets properties on it.MultiXMLConfigurationBuilder This optional configuration builder creates the Synapse configuration by processing a specified file hierarchy.MultiXMLConfigurationSerializer NTLMMediatorFactory Factory forNTLMMediatorinstances.NTLMMediatorSerializer Serializer forNTLMMediatorinstances.OMElementUtils Holds Axiom utility methods used by SynapseOutMediatorFactory Creates an Out mediator instanceOutMediatorSerializer PayloadFactoryMediatorFactory PayloadFactoryMediatorSerializer POJOCommandMediatorFactory Factory forPOJOCommandMediatorinstances.POJOCommandMediatorSerializer Serializer forPOJOCommandMediatorinstances.PropertyGroupMediatorFactory Creates a propertyGroup mediator through the supplied XML configurationPropertyGroupMediatorSerializer <propertyGroup> <property name="string" [action=set/remove] (value="literal" | expression="xpath") [type="literal"]> [Random XML] </property> <propertyGroup/>*;PropertyHelper This class will be used as a Helper class to get the properties loaded while building the Synapse Configuration from the XMLPropertyMediatorFactory Creates a property mediator through the supplied XML configurationPropertyMediatorSerializer <property name="string" [action=set/remove] (value="literal" | expression="xpath") [type="literal"]> [Random XML] </property>ProxyServiceFactory Factory forProxyServiceinstances.ProxyServiceSerializer Serializer forProxyServiceinstances.RegistryFactory Create an instance of the given registry, and sets properties on it.RegistrySerializer <registry [name="string"] provider="provider.class"> <property name="string" value="string"> </registry>ResourceMapFactory Creates a ResourceMap object based on a set of <resource> elements:ResourceMapSerializer Creates a sequence of <resource> elements from a ResourceMap object:RespondMediatorFactory RespondMediatorSerializer SamplingThrottleMediatorFactory Builds theSamplingThrottleMediatorinstance by looking at the following configurationSamplingThrottleMediatorSerializer Serializes theSamplingThrottleMediatorinstance into a XML configuration as followsSendMediatorFactory Factory forSendMediatorinstances.SendMediatorSerializer Serializer forSendMediatorinstances.SequenceMediatorFactory Factory forSequenceMediatorinstances.SequenceMediatorSerializer Serializer forSequenceMediatorinstances.StartupFinder SwitchCase A SwitchCase define a case element of Switch Mediator and It has a list mediator and a regex that is matched by its owning SwitchMediator for selection.SwitchMediatorFactory Factory forSwitchMediatorinstances.SwitchMediatorSerializer Factory forSwitchMediatorinstances.SynapseImportFactory SynapseImportSerializer This will serialize the SynapseImport to the xml configuration as specified bellowSynapseJsonPathFactory SynapseMediatorFactory Builds the main mediator (@see SynapseConfiguration) of the Synapse instanceSynapseMediatorSerializer <rules> mediator+ <rules>SynapsePath SynapsePathFactory SynapsePathSerializer SynapseXMLConfigurationFactory SynapseXMLConfigurationSerializer SynapseXPathFactory SynapseXPathSerializer TargetFactory Factory forTargetinstances.TargetSerializer Serializer forTargetinstances.TaskManagerFactory TaskManagerSerializer TemplateMediatorFactory Factory class for Template configuration as follows* + TemplateMediatorSerializer Serializer class for Template to serialize into a configuration as follows* + TransactionMediatorFactory The Factory for create transaction mediator- InLine XML need to provideTransactionMediatorSerializer Serializer forTransactionMediatorinstances.URLRewriteMediatorFactory Creates an instance of the URLRewriteMediator given an XML configuration which adheres to the following grammar.URLRewriteMediatorSerializer ValidateMediatorFactory Factory forValidateMediatorinstances.ValidateMediatorSerializer Serializer forValidateMediatorinstances.ValueFactory Factory forValueinstances.ValueSerializer Serializer forValueinstances.XMLConfigConstants Constants used in the processing of XML configuration languageXMLConfigurationBuilder Builds a Synapse Configuration from an XML input streamXMLConfigurationSerializer Serialize a SynapseConfiguration into an OutputStreamXMLToTemplateMapper XSLTMediatorFactory Factory forXSLTMediatorinstances.XSLTMediatorSerializer Serializer forXSLTMediatorinstances. -
Enum Summary Enum Description XMLConfigConstants.DATA_TYPES The set of supported data types