Interface CitrusXmlConfigParser


  • public interface CitrusXmlConfigParser
    Author:
    Christoph Deppisch
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger LOG
      Logger
      static String RESOURCE_PATH
      Bean definition parser resource lookup path
      static com.consol.citrus.spi.TypeResolver TYPE_RESOLVER
      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 Detail

      • LOG

        static final org.slf4j.Logger LOG
        Logger
      • TYPE_RESOLVER

        static final com.consol.citrus.spi.TypeResolver TYPE_RESOLVER
        Type resolver to find custom message Xml config parsers on classpath via resource path lookup
    • Method Detail

      • 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: