Class Jpa
java.lang.Object
org.springframework.integration.jpa.dsl.Jpa
Factory class for JPA components.
- Since:
- 5.0
- Author:
- Artem Bilan
-
Method Summary
Modifier 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
-
inboundAdapter
public static JpaInboundChannelAdapterSpec inboundAdapter(EntityManagerFactory entityManagerFactory) Create aJpaInboundChannelAdapterSpecbuilder instance based on the providedEntityManagerFactory.- Parameters:
entityManagerFactory- theEntityManagerFactoryto use- Returns:
- the JpaInboundChannelAdapterSpec instance
-
inboundAdapter
Create aJpaInboundChannelAdapterSpecbuilder instance based on the providedEntityManager.- Parameters:
entityManager- theEntityManagerto use- Returns:
- the JpaInboundChannelAdapterSpec instance
-
inboundAdapter
Create aJpaInboundChannelAdapterSpecbuilder instance based on the providedJpaOperations.- Parameters:
jpaOperations- theJpaOperationsto use- Returns:
- the JpaInboundChannelAdapterSpec instance
-
outboundAdapter
public static JpaUpdatingOutboundEndpointSpec outboundAdapter(EntityManagerFactory entityManagerFactory) Create aJpaUpdatingOutboundEndpointSpecbuilder instance for one-way adapter based on the providedEntityManagerFactory.- Parameters:
entityManagerFactory- theEntityManagerFactoryto use- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
-
outboundAdapter
Create aJpaUpdatingOutboundEndpointSpecbuilder instance for one-way adapter based on the providedEntityManager.- Parameters:
entityManager- theEntityManagerto use- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
-
outboundAdapter
Create aJpaUpdatingOutboundEndpointSpecbuilder instance for one-way adapter based on the providedJpaOperations.- Parameters:
jpaOperations- theJpaOperationsto use- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
-
updatingGateway
public static JpaUpdatingOutboundEndpointSpec updatingGateway(EntityManagerFactory entityManagerFactory) Create aJpaUpdatingOutboundEndpointSpecbuilder instance for request-reply gateway based on the providedEntityManagerFactory.- Parameters:
entityManagerFactory- theEntityManagerFactoryto use- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
-
updatingGateway
Create aJpaUpdatingOutboundEndpointSpecbuilder instance for request-reply gateway based on the providedEntityManager.- Parameters:
entityManager- theEntityManagerto use- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
-
updatingGateway
Create aJpaUpdatingOutboundEndpointSpecbuilder instance for request-reply gateway based on the providedJpaOperations.- Parameters:
jpaOperations- theJpaOperationsto use- Returns:
- the JpaUpdatingOutboundEndpointSpec instance
-
retrievingGateway
public static JpaRetrievingOutboundGatewaySpec retrievingGateway(EntityManagerFactory entityManagerFactory) Create aJpaRetrievingOutboundGatewaySpecbuilder instance for request-reply gateway based on the providedEntityManagerFactory.- Parameters:
entityManagerFactory- theEntityManagerFactoryto use- Returns:
- the JpaRetrievingOutboundGatewaySpec instance
-
retrievingGateway
Create aJpaRetrievingOutboundGatewaySpecbuilder instance for request-reply gateway based on the providedEntityManager.- Parameters:
entityManager- theEntityManagerto use- Returns:
- the JpaRetrievingOutboundGatewaySpec instance
-
retrievingGateway
Create aJpaRetrievingOutboundGatewaySpecbuilder instance for request-reply gateway based on the providedJpaOperations.- Parameters:
jpaOperations- theJpaOperationsto use- Returns:
- the JpaRetrievingOutboundGatewaySpec instance
-