Class AbstractServerParser

java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.citrusframework.config.xml.AbstractServerParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public abstract class AbstractServerParser extends org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
Abstract server parser adds endpoint adapter construction and basic server property parsing.
Since:
1.4
Author:
Christoph Deppisch
  • Field Summary

    Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

    ID_ATTRIBUTE, NAME_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract Class<? extends AbstractServer>
    Subclasses must provide proper server class implementation.
    protected final org.springframework.beans.factory.support.AbstractBeanDefinition
    parseInternal(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
     
    protected abstract void
    parseServer(org.springframework.beans.factory.support.BeanDefinitionBuilder serverBuilder, Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
    Parses element and adds server properties to bean definition via provided builder.

    Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

    parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractServerParser

      public AbstractServerParser()
  • Method Details

    • parseInternal

      protected final org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
      Specified by:
      parseInternal in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
    • parseServer

      protected abstract void parseServer(org.springframework.beans.factory.support.BeanDefinitionBuilder serverBuilder, Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
      Parses element and adds server properties to bean definition via provided builder. Subclasses must implement this parsing method in order to add detailed server bean definition properties.
      Parameters:
      serverBuilder -
      element -
      parserContext -
    • getServerClass

      protected abstract Class<? extends AbstractServer> getServerClass()
      Subclasses must provide proper server class implementation.
      Returns: