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
- Author:
- Amol Nayak, Gunnar Hillert, Artem Bilan
- 
Method SummaryModifier and TypeMethodDescriptionstatic BeanDefinitionBuildergetJpaExecutorBuilder(Element element, ParserContext parserContext) Create a newBeanDefinitionBuilderfor the classJpaExecutor.static ManagedList<BeanDefinition> getJpaParameterBeanDefinitions(Element jpaComponent, ParserContext parserContext) Create aManagedListofBeanDefinitions containing parsed JPA Parameters.static BeanDefinitionBuildergetOutboundGatewayJpaExecutorBuilder(Element gatewayElement, ParserContext parserContext) Create a newBeanDefinitionBuilderfor the classJpaExecutorthat is specific for JPA Outbound Gateways.
- 
Method Details- 
getJpaExecutorBuilderpublic static BeanDefinitionBuilder getJpaExecutorBuilder(Element element, ParserContext parserContext) Create a newBeanDefinitionBuilderfor the classJpaExecutor. Initialize the wrappedJpaExecutorwith common properties.- Parameters:
- element- Must not be null
- parserContext- Must not be null
- Returns:
- The BeanDefinitionBuilder for the JpaExecutor
 
- 
getOutboundGatewayJpaExecutorBuilderpublic static BeanDefinitionBuilder getOutboundGatewayJpaExecutorBuilder(Element gatewayElement, 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 null
- parserContext- Must not be null
- Returns:
- The BeanDefinitionBuilder for the JpaExecutor
 
- 
getJpaParameterBeanDefinitionspublic static ManagedList<BeanDefinition> getJpaParameterBeanDefinitions(Element jpaComponent, ParserContext parserContext) Create aManagedListofBeanDefinitions containing parsed JPA Parameters.- Parameters:
- jpaComponent- Must not be null
- parserContext- Must not be null
- Returns:
- ManagedListof- BeanDefinitions
 
 
-