Class 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 Detail

      • TargetFactory

        public TargetFactory()
    • Method Detail

      • createTarget

        public static Target createTarget​(org.apache.axiom.om.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