Class JpaParserUtils
java.lang.Object
org.springframework.integration.jpa.config.xml.JpaParserUtils
Contains various utility methods for parsing JPA Adapter specific namespace
elements and generation the respective
BeanDefinitions.- Since:
- 2.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.beans.factory.support.BeanDefinitionBuildergetJpaExecutorBuilder(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(Element jpaComponent, org.springframework.beans.factory.xml.ParserContext parserContext) Create aManagedListofBeanDefinitions containing parsed JPA Parameters.static org.springframework.beans.factory.support.BeanDefinitionBuildergetOutboundGatewayJpaExecutorBuilder(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(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(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(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
-