Class JpaParserUtils
java.lang.Object
org.springframework.integration.jpa.config.xml.JpaParserUtils
public final class JpaParserUtils
extends java.lang.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.BeanDefinitionBuildergetJpaExecutorBuilder(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)Create a newBeanDefinitionBuilderfor the classJpaExecutor.static org.springframework.beans.factory.support.ManagedList<org.springframework.beans.factory.config.BeanDefinition>getJpaParameterBeanDefinitions(org.w3c.dom.Element jpaComponent, org.springframework.beans.factory.xml.ParserContext parserContext)Create aManagedListofBeanDefinitions containing parsed JPA Parameters.static org.springframework.beans.factory.support.BeanDefinitionBuildergetOutboundGatewayJpaExecutorBuilder(org.w3c.dom.Element gatewayElement, org.springframework.beans.factory.xml.ParserContext parserContext)Create a newBeanDefinitionBuilderfor the classJpaExecutorthat is specific for JPA Outbound Gateways.
-
Method Details
-
getJpaExecutorBuilder
public static org.springframework.beans.factory.support.BeanDefinitionBuilder getJpaExecutorBuilder(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)Create a newBeanDefinitionBuilderfor the classJpaExecutor. Initialize the wrappedJpaExecutorwith common properties.- Parameters:
element- Must not be nullparserContext- Must not be null- Returns:
- The BeanDefinitionBuilder for the JpaExecutor
-
getOutboundGatewayJpaExecutorBuilder
public static org.springframework.beans.factory.support.BeanDefinitionBuilder getOutboundGatewayJpaExecutorBuilder(org.w3c.dom.Element gatewayElement, org.springframework.beans.factory.xml.ParserContext parserContext)Create a newBeanDefinitionBuilderfor the classJpaExecutorthat is specific for JPA Outbound Gateways. Initializes the wrappedJpaExecutorwith common properties. Delegates togetJpaExecutorBuilder(Element, ParserContext)- Parameters:
gatewayElement- Must not be nullparserContext- 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(org.w3c.dom.Element jpaComponent, org.springframework.beans.factory.xml.ParserContext parserContext)Create aManagedListofBeanDefinitions containing parsed JPA Parameters.- Parameters:
jpaComponent- Must not be nullparserContext- Must not be null- Returns:
ManagedListofBeanDefinitions
-