Class TemplateDefinitionFactory

  • All Implemented Interfaces:
    org.apache.synapse.config.xml.endpoints.DefinitionFactory

    public class TemplateDefinitionFactory
    extends org.apache.synapse.config.xml.endpoints.EndpointDefinitionFactory
    • Field Detail

      • log

        public static final org.apache.commons.logging.Log log
    • Constructor Detail

      • TemplateDefinitionFactory

        public TemplateDefinitionFactory()
    • Method Detail

      • createDefinition

        public org.apache.synapse.endpoints.EndpointDefinition createDefinition​(org.apache.axiom.om.OMElement elem)
        Extracts the QoS information from the XML which represents a WSDL/Address/Default endpoints for Template endpoints
        Specified by:
        createDefinition in interface org.apache.synapse.config.xml.endpoints.DefinitionFactory
        Overrides:
        createDefinition in class org.apache.synapse.config.xml.endpoints.EndpointDefinitionFactory
        Parameters:
        elem - XML which represents the endpoint with QoS information
        Returns:
        the created endpoint definition
      • handleException

        protected static void handleException​(String msg)
      • handleException

        protected static void handleException​(String msg,
                                              Exception e)