Class TemplateDefinitionFactory

java.lang.Object
org.apache.synapse.config.xml.endpoints.EndpointDefinitionFactory
org.wso2.carbon.endpoint.ui.factory.TemplateDefinitionFactory
All Implemented Interfaces:
org.apache.synapse.config.xml.endpoints.DefinitionFactory

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

    • log

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

    • TemplateDefinitionFactory

      public TemplateDefinitionFactory()
  • Method Details

    • getParameterContainer

      public TemplateParameterContainer getParameterContainer()
    • 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)