Interface CitrusXmlConfigParser


public interface CitrusXmlConfigParser
Author:
Christoph Deppisch
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
    Logger
    static final String
    Bean definition parser resource lookup path
    static final org.citrusframework.spi.TypeResolver
    Type resolver to find custom message Xml config parsers on classpath via resource path lookup
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static <T> Map<String,T>
    lookup(String category)
    Resolves all available config parsers from resource path lookup.
    static <T> Optional<T>
    lookup(String category, String name)
    Resolves XML config parser from resource path lookup with given category and name.
  • Field Details

    • logger

      static final org.slf4j.Logger logger
      Logger
    • RESOURCE_PATH

      static final String RESOURCE_PATH
      Bean definition parser resource lookup path
      See Also:
    • TYPE_RESOLVER

      static final org.citrusframework.spi.TypeResolver TYPE_RESOLVER
      Type resolver to find custom message Xml config parsers on classpath via resource path lookup
  • Method Details

    • lookup

      static <T> Map<String,T> lookup(String category)
      Resolves all available config parsers from resource path lookup. Scans classpath for config parser meta information and instantiates those parsers.
      Returns:
    • lookup

      static <T> Optional<T> lookup(String category, String name)
      Resolves XML config parser from resource path lookup with given category and name. Scans classpath for parser meta information with given name and returns instance of parser. Returns optional instead of throwing exception when no parser could be found.
      Parameters:
      category -
      name -
      Returns: