Spring Integration

org.springframework.integration.jpa.config.xml
Class JpaParserUtils

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

public final class JpaParserUtils
extends java.lang.Object

The common method for generating the BeanDefinition for the common MessageHandler is implemented in this class

Since:
2.2
Author:
Amol Nayak, Gunnar Hillert

Method Summary
static org.springframework.beans.factory.config.BeanDefinition configureTransactionAttributes(org.w3c.dom.Element txElement)
          Parse a "transactional" element and configure a TransactionInterceptor with "transactionManager" and other "transactionDefinition" properties.
static org.springframework.beans.factory.support.BeanDefinitionBuilder getJpaExecutorBuilder(org.w3c.dom.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(org.w3c.dom.Element jpaComponent, org.springframework.beans.factory.xml.ParserContext parserContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJpaExecutorBuilder

public static org.springframework.beans.factory.support.BeanDefinitionBuilder getJpaExecutorBuilder(org.w3c.dom.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

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)
Parameters:
jpaComponent -
parserContext -

configureTransactionAttributes

public static org.springframework.beans.factory.config.BeanDefinition configureTransactionAttributes(org.w3c.dom.Element txElement)
Parse a "transactional" element and configure a TransactionInterceptor with "transactionManager" and other "transactionDefinition" properties. This advisor will be applied on the Polling Task proxy (see AbstractPollingEndpoint). FIXME Copied from PollerParser - should be refactored.


Spring Integration