Class Jpa
java.lang.Object
org.springframework.integration.jpa.dsl.Jpa
Factory class for JPA components.
- Since:
- 5.0
- Author:
- Artem Bilan
- 
Method SummaryModifier and TypeMethodDescriptionstatic JpaInboundChannelAdapterSpecinboundAdapter(EntityManager entityManager) Create aJpaInboundChannelAdapterSpecbuilder instance based on the providedEntityManager.static JpaInboundChannelAdapterSpecinboundAdapter(EntityManagerFactory entityManagerFactory) Create aJpaInboundChannelAdapterSpecbuilder instance based on the providedEntityManagerFactory.static JpaInboundChannelAdapterSpecinboundAdapter(JpaOperations jpaOperations) Create aJpaInboundChannelAdapterSpecbuilder instance based on the providedJpaOperations.outboundAdapter(EntityManager entityManager) Create aJpaUpdatingOutboundEndpointSpecbuilder instance for one-way adapter based on the providedEntityManager.outboundAdapter(EntityManagerFactory entityManagerFactory) Create aJpaUpdatingOutboundEndpointSpecbuilder instance for one-way adapter based on the providedEntityManagerFactory.outboundAdapter(JpaOperations jpaOperations) Create aJpaUpdatingOutboundEndpointSpecbuilder instance for one-way adapter based on the providedJpaOperations.retrievingGateway(EntityManager entityManager) Create aJpaRetrievingOutboundGatewaySpecbuilder instance for request-reply gateway based on the providedEntityManager.retrievingGateway(EntityManagerFactory entityManagerFactory) Create aJpaRetrievingOutboundGatewaySpecbuilder instance for request-reply gateway based on the providedEntityManagerFactory.retrievingGateway(JpaOperations jpaOperations) Create aJpaRetrievingOutboundGatewaySpecbuilder instance for request-reply gateway based on the providedJpaOperations.updatingGateway(EntityManager entityManager) Create aJpaUpdatingOutboundEndpointSpecbuilder instance for request-reply gateway based on the providedEntityManager.updatingGateway(EntityManagerFactory entityManagerFactory) Create aJpaUpdatingOutboundEndpointSpecbuilder instance for request-reply gateway based on the providedEntityManagerFactory.updatingGateway(JpaOperations jpaOperations) Create aJpaUpdatingOutboundEndpointSpecbuilder instance for request-reply gateway based on the providedJpaOperations.
- 
Method Details- 
inboundAdapterpublic static JpaInboundChannelAdapterSpec inboundAdapter(EntityManagerFactory entityManagerFactory) Create aJpaInboundChannelAdapterSpecbuilder instance based on the providedEntityManagerFactory.- Parameters:
- entityManagerFactory- the- EntityManagerFactoryto use
- Returns:
- the JpaInboundChannelAdapterSpec instance
 
- 
inboundAdapterCreate aJpaInboundChannelAdapterSpecbuilder instance based on the providedEntityManager.- Parameters:
- entityManager- the- EntityManagerto use
- Returns:
- the JpaInboundChannelAdapterSpec instance
 
- 
inboundAdapterCreate aJpaInboundChannelAdapterSpecbuilder instance based on the providedJpaOperations.- Parameters:
- jpaOperations- the- JpaOperationsto use
- Returns:
- the JpaInboundChannelAdapterSpec instance
 
- 
outboundAdapterpublic static JpaUpdatingOutboundEndpointSpec outboundAdapter(EntityManagerFactory entityManagerFactory) Create aJpaUpdatingOutboundEndpointSpecbuilder instance for one-way adapter based on the providedEntityManagerFactory.- Parameters:
- entityManagerFactory- the- EntityManagerFactoryto use
- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
 
- 
outboundAdapterCreate aJpaUpdatingOutboundEndpointSpecbuilder instance for one-way adapter based on the providedEntityManager.- Parameters:
- entityManager- the- EntityManagerto use
- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
 
- 
outboundAdapterCreate aJpaUpdatingOutboundEndpointSpecbuilder instance for one-way adapter based on the providedJpaOperations.- Parameters:
- jpaOperations- the- JpaOperationsto use
- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
 
- 
updatingGatewaypublic static JpaUpdatingOutboundEndpointSpec updatingGateway(EntityManagerFactory entityManagerFactory) Create aJpaUpdatingOutboundEndpointSpecbuilder instance for request-reply gateway based on the providedEntityManagerFactory.- Parameters:
- entityManagerFactory- the- EntityManagerFactoryto use
- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
 
- 
updatingGatewayCreate aJpaUpdatingOutboundEndpointSpecbuilder instance for request-reply gateway based on the providedEntityManager.- Parameters:
- entityManager- the- EntityManagerto use
- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
 
- 
updatingGatewayCreate aJpaUpdatingOutboundEndpointSpecbuilder instance for request-reply gateway based on the providedJpaOperations.- Parameters:
- jpaOperations- the- JpaOperationsto use
- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
 
- 
retrievingGatewaypublic static JpaRetrievingOutboundGatewaySpec retrievingGateway(EntityManagerFactory entityManagerFactory) Create aJpaRetrievingOutboundGatewaySpecbuilder instance for request-reply gateway based on the providedEntityManagerFactory.- Parameters:
- entityManagerFactory- the- EntityManagerFactoryto use
- Returns:
- the JpaRetrievingOutboundGatewaySpec instance
 
- 
retrievingGatewayCreate aJpaRetrievingOutboundGatewaySpecbuilder instance for request-reply gateway based on the providedEntityManager.- Parameters:
- entityManager- the- EntityManagerto use
- Returns:
- the JpaRetrievingOutboundGatewaySpec instance
 
- 
retrievingGatewayCreate aJpaRetrievingOutboundGatewaySpecbuilder instance for request-reply gateway based on the providedJpaOperations.- Parameters:
- jpaOperations- the- JpaOperationsto use
- Returns:
- the JpaRetrievingOutboundGatewaySpec instance
 
 
-