Home » synapse-1.2-src » org.apache » synapse » config » xml »

org.apache.synapse.config.xml

Sub Packages:

org.apache.synapse.config.xml.endpoints    
org.apache.synapse.config.xml.endpoints.utils    

Interfaces:

ConfigurationFactory   This interface defines the configuration factories of Synapse  code | html
ConfigurationSerializer   This interface defines the configuration serializers of Synapse.  code | html
MediatorFactory   A mediator factory capable of creating an instance of a mediator through a given XML should implement this interface  code | html
MediatorSerializer   Interface which should be implemented by mediator serializers.  code | html
StartupFactory   Defines the factories which builds startups  code | html
StartupSerializer   Defines the serialization of Startups  code | html

Abstract Classes:

AbstractDBMediatorFactory   Base class for factories for database related mediators.  code | html
AbstractDBMediatorSerializer   Base class for serializers for database related mediators.  code | html
AbstractListMediatorFactory   This implements the basic logic to build a list mediator from a given XML configuration.  code | html
AbstractListMediatorSerializer     code | html
AbstractMediatorFactory     code | html
AbstractMediatorSerializer     code | html
AnonymousListMediatorFactory   This is factory for creating an anonymous list mediator(an unnamed list of mediators )  code | html

Classes:

AggregateMediatorFactory   Factory for AggregateMediator instances.  code | html
AggregateMediatorSerializer   Serializer for AggregateMediator instances.  code | html
AnnotatedCommandMediatorFactory   Creates an instance of a AnnotatedCommand mediator using XML configuration specified

<annotatedCommand name="class-name">
  <property name="string" value="literal">
     either literal or XML child
  </property>
  <property name="string" expression="XPATH expression"/>
</annoatedCommand>
 
code | html
AnonymousListMediator   This mediator represents an unnamed list mediator  code | html
AnonymousListMediatorSerializer   This is Serializer for serialization of an anonymous list mediator(an unnamed list of mediators )  code | html
CacheMediatorFactory   Creates an instance of a Cache mediator using XML configuration specified
<cache [id="string"] [hashGenerator="class"] [timeout="seconds"]
     [scope=(per-host | per-mediator)] collector=(true | false) [maxMessageSize="in-bytes"]>
  <onCacheHit [sequence="key"]>
    (mediator)+
  </onCacheHit>?
  <implementation type=(memory | disk) maxSize="int"/>
</cache>
 
code | html
CacheMediatorSerializer   Serializes the Cache mediator to the XML configuration specified

<cache [id="string"] [hashGenerator="class"] [timeout="seconds"]
     [scope=(per-host | per-mediator)] collector=(true | false) [maxMessageSize="in-bytes"]>
  <onCacheHit [sequence="key"]>
    (mediator)+
  </onCacheHit>?
  <implementation type=(memory | disk) maxSize="int"/>
</cache>
 
code | html
CalloutMediatorFactory   Factory for CalloutMediator instances.  code | html
CalloutMediatorSerializer  
<callout serviceURL="string" [action="string"]>
     <configuration [axis2xml="string"] [repository="string"]/>?
     <source xpath="expression" | key="string">
     <target xpath="expression" | key="string"/>
</callout>
 
code | html
ClassMediatorFactory   Creates an instance of a Class mediator using XML configuration specified

<class name="class-name">
  <property name="string" value="literal">
     either literal or XML child
  </property>
</class>
 
code | html
ClassMediatorSerializer  
<class name="class-name">
  <property name="string" (value="literal" | expression="xpath")/>*
</class>
 
code | html
CloneMediatorFactory   The <clone> element is used to copy messages in Synapse to simillar messages but with different message contexts and mediated using the specified targets
<clone [continueParent=(true | false)]>
  <target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"]
         [endpoint="endpoint_ref"]>
    <sequence>
      (mediator)+
    </sequence>?
    <endpoint>
      endpoint
    </endpoint>?
  </target>+
</clone>
 
code | html
CloneMediatorSerializer   This will serialize the CloneMediator to the xml configuration as specified bellow
 <clone [continueParent=(true | false)]>
  <target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"]
         [endpoint="endpoint_ref"]>
    <sequence>
      (mediator)+
    </sequence>?
    <endpoint>
      endpoint
    </endpoint>?
  </target>+
</clone>
 
code | html
ConfigurationFactoryAndSerializerFinder   This class is based on J2SE Service Provider model http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Service%20Provider

It deals with both the problem of turning an XML into a Synapse config and vice-versa 

code | html
DBLookupMediatorFactory   Factory for DBLookupMediator instances.  code | html
DBLookupMediatorSerializer   Serializer for DBLookupMediator instances.  code | html
DBReportMediatorFactory   Factory for DBReportMediator instances.  code | html
DBReportMediatorSerializer   Serializer for DBReportMediator instances.  code | html
DropMediatorFactory   Factory for DropMediator instances.  code | html
DropMediatorSerializer   Serializer for DropMediator instances.  code | html
EntryFactory   Factory for Entry instances.  code | html
EntrySerializer   Serializer for Entry instances.  code | html
FaultMediatorFactory   Factory for FaultMediator instances.  code | html
FaultMediatorSerializer   Serializer for FaultMediator instances.  code | html
FilterMediatorFactory  

Creates a filter mediator instance with the default behavior

<filter (source="xpath" regex="string") | xpath="xpath">
  mediator+
</filter>

or if the filter medaitor needs to support the else behavior as well (i.e. 

code | html
FilterMediatorSerializer  
<filter (source="xpath" regex="string") | xpath="xpath">
  mediator+
</filter>

or if the filter medaitor needs to support the else behavior as well (i.e. 

code | html
HeaderMediatorFactory   Factory for HeaderMediator instances.  code | html
HeaderMediatorSerializer   Serializer for HeaderMediator instances.  code | html
InMediatorFactory   Factory for InMediator instances.  code | html
InMediatorSerializer   Factory for InMediator instances.  code | html
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.  code | html
IterateMediatorSerializer   This class will be acting as the serializer for the IterateMediator which will convert the IterateMediator instance to the following xml configuration
<iterate [continueParent=(true | false)] [preservePayload=(true | false)]
         (attachPath="xpath")? expression="xpath">
  <target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"]
         [endpoint="endpoint_ref"]>
    <sequence>
      (mediator)+
    </sequence>?
    <endpoint>
      endpoint
    </endpoint>?
  </target>+
</iterate>
 
code | html
LogMediatorFactory   Created a Log mediator that logs messages using commons-logging.  code | html
LogMediatorSerializer  
<log [level="simple|headers|full|custom"] [separator="string"]>
     <property> *
</log>
 
code | html
MediatorFactoryFinder   This class is based on J2SE Service Provider model http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Service%20Provider  code | html
MediatorPropertyFactory   A utility class capable of creating instances of MediatorProperty objects by reading through a given XML configuration
<element>
   <property name="string" (value="literal" | expression="xpath")/>*
</element>
 
code | html
MediatorSerializerFinder     code | html
OMElementUtils   Holds Axiom utility methods used by Synapse  code | html
OutMediatorFactory   Creates an Out mediator instance
<out>
   mediator+
</out>
 
code | html
OutMediatorSerializer     code | html
POJOCommandMediatorFactory   Factory for POJOCommandMediator instances.  code | html
POJOCommandMediatorSerializer   Serializer for POJOCommandMediator instances.  code | html
PropertyHelper   This class will be used as a Helper class to get the properties loaded while building the Synapse Configuration from the XML  code | html
PropertyMediatorFactory   Creates a property mediator through the supplied XML configuration

<property name="string" [action=set/remove] (value="literal" | expression="xpath") [scope=(axis2 | axis2-client | transport)]/>
 
code | html
PropertyMediatorSerializer  
<property name="string" [action=set/remove] (value="literal" | expression="xpath")/>
 
code | html
ProxyServiceFactory   Factory for ProxyService instances.  code | html
ProxyServiceSerializer   Serializer for ProxyService instances.  code | html
RMSequenceMediatorFactory   Factory for RMSequenceMediator instances.  code | html
RMSequenceMediatorSerializer   Serializer for RMSequenceMediator instances.  code | html
RegistryFactory   Create an instance of the given registry, and sets properties on it.  code | html
RegistrySerializer   <registry [name="string"] provider="provider.class"> <property name="string" value="string"> </registry>  code | html
ResourceMapFactory   Creates a ResourceMap object based on a set of <resource> elements:
<resource location="..." key="..."/>*
 
code | html
ResourceMapSerializer   Creates a sequence of <resource> elements from a ResourceMap object:
<resource location="..." key="..."/>*
 
code | html
SendMediatorFactory   Factory for SendMediator instances.  code | html
SendMediatorSerializer   Serializer for SendMediator instances.  code | html
SequenceMediatorFactory   Factory for SequenceMediator instances.  code | html
SequenceMediatorSerializer   Serializer for SequenceMediator instances.  code | html
StartupFinder     code | html
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.  code | html
SwitchMediatorFactory   Factory for SwitchMediator instances.  code | html
SwitchMediatorSerializer   Factory for SwitchMediator instances.  code | html
SynapseMediatorFactory   Builds the main mediator (@see SynapseConfiguration) of the Synapse instance
<rules>
  mediator+
<rules>
 
code | html
SynapseMediatorSerializer  
<rules>
  mediator+
<rules>
 
code | html
SynapseXMLConfigurationFactory     code | html
SynapseXMLConfigurationSerializer     code | html
SynapseXPathFactory     code | html
SynapseXPathSerializer     code | html
TargetFactory   Factory for Target instances.  code | html
TargetSerializer   Serializer for Target instances.  code | html
ValidateMediatorFactory   Factory for ValidateMediator instances.  code | html
ValidateMediatorSerializer   Serializer for ValidateMediator instances.  code | html
XMLConfigConstants   Constants used in the processing of XML configuration language  code | html
XMLConfigurationBuilder   Builds a Synapse Configuration from an XML input stream  code | html
XMLConfigurationSerializer   Serialize a SynapseConfiguration into an OutputStream  code | html
XSLTMediatorFactory   Factory for XSLTMediator instances.  code | html
XSLTMediatorSerializer   Serializer for XSLTMediator instances.  code | html