org.apache.synapse.config.xml
Class TargetFactory
java.lang.Object
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TargetFactory
public TargetFactory()
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 targetproperties
- bag of properties with information
- Returns:
- Target built by parsing the given element
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.