Class StoredIdDataConnectorParser

All Implemented Interfaces:
BeanDefinitionParser

public class StoredIdDataConnectorParser
extends ComputedIdDataConnectorParser
Spring bean definition parser for StoredIDDataConnector.
  • Field Details

    • TYPE_NAME_RESOLVER

      @Nonnull public static final QName TYPE_NAME_RESOLVER
      Schema type - resolver.
    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
  • Constructor Details

    • StoredIdDataConnectorParser

      public StoredIdDataConnectorParser()
  • Method Details

    • doParse

      protected void doParse​(@Nonnull Element config, @Nonnull ParserContext parserContext, @Nonnull BeanDefinitionBuilder builder)
      Overrides:
      doParse in class ComputedIdDataConnectorParser
    • doJDBCPairwiseIdStore

      @Nonnull protected BeanDefinition doJDBCPairwiseIdStore​(@Nonnull Element config, @Nonnull ParserContext parserContext)
      Parse the config and define a bean for a JDBCPairwiseIdStore.
      Parameters:
      config - the XML element being parsed
      parserContext - the object encapsulating the current state of the parsing process
      Returns:
      bean definition for the store object to inject
    • getv2DataSource

      protected BeanDefinition getv2DataSource​(@Nonnull Element config)
      Get the dataSource from a v2 configuration.
      Parameters:
      config - the DOM element under consideration.
      Returns:
      the DataSource