org.apache.synapse.config.xml
Class TargetFactory

java.lang.Object
  extended by org.apache.synapse.config.xml.TargetFactory

public class TargetFactory
extends Object

Factory for Target instances.

This will build the Target util object for EIP mediators using <target> element specified as follows <target (sequence="string reference")? (endpoint="string reference")?> (<sequence> | <endpoinit>)? </target>


Constructor Summary
TargetFactory()
           
 
Method Summary
static Target createTarget(OMElement elem, Properties properties)
          This static method will be used to build the Target from the specified element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetFactory

public TargetFactory()
Method Detail

createTarget

public static Target createTarget(OMElement elem,
                                  Properties properties)
This static method will be used to build the Target from the specified element

Parameters:
elem - - OMElement describing the xml configuration of the target
properties - bag of properties with information
Returns:
Target built by parsing the given element


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