Class JpaParserUtils

java.lang.Object
org.springframework.integration.jpa.config.xml.JpaParserUtils

public final class JpaParserUtils extends Object
Contains various utility methods for parsing JPA Adapter specific namespace elements and generation the respective BeanDefinitions.
Since:
2.2
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.beans.factory.support.BeanDefinitionBuilder
    getJpaExecutorBuilder(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
    Create a new BeanDefinitionBuilder for the class JpaExecutor.
    static org.springframework.beans.factory.support.ManagedList<org.springframework.beans.factory.config.BeanDefinition>
    getJpaParameterBeanDefinitions(Element jpaComponent, org.springframework.beans.factory.xml.ParserContext parserContext)
    Create a ManagedList of BeanDefinitions containing parsed JPA Parameters.
    static org.springframework.beans.factory.support.BeanDefinitionBuilder
    getOutboundGatewayJpaExecutorBuilder(Element gatewayElement, org.springframework.beans.factory.xml.ParserContext parserContext)
    Create a new BeanDefinitionBuilder for the class JpaExecutor that is specific for JPA Outbound Gateways.

    Methods inherited from class java.lang.Object

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

    • getJpaExecutorBuilder

      public static org.springframework.beans.factory.support.BeanDefinitionBuilder getJpaExecutorBuilder(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
      Create a new BeanDefinitionBuilder for the class JpaExecutor. Initialize the wrapped JpaExecutor with common properties.
      Parameters:
      element - Must not be null
      parserContext - Must not be null
      Returns:
      The BeanDefinitionBuilder for the JpaExecutor
    • getOutboundGatewayJpaExecutorBuilder

      public static org.springframework.beans.factory.support.BeanDefinitionBuilder getOutboundGatewayJpaExecutorBuilder(Element gatewayElement, org.springframework.beans.factory.xml.ParserContext parserContext)
      Create a new BeanDefinitionBuilder for the class JpaExecutor that is specific for JPA Outbound Gateways. Initializes the wrapped JpaExecutor with common properties. Delegates to getJpaExecutorBuilder(Element, ParserContext)
      Parameters:
      gatewayElement - Must not be null
      parserContext - Must not be null
      Returns:
      The BeanDefinitionBuilder for the JpaExecutor
    • getJpaParameterBeanDefinitions

      public static org.springframework.beans.factory.support.ManagedList<org.springframework.beans.factory.config.BeanDefinition> getJpaParameterBeanDefinitions(Element jpaComponent, org.springframework.beans.factory.xml.ParserContext parserContext)
      Create a ManagedList of BeanDefinitions containing parsed JPA Parameters.
      Parameters:
      jpaComponent - Must not be null
      parserContext - Must not be null
      Returns:
      ManagedList of BeanDefinitions