Class BaseIntegrationEventHandler
- java.lang.Object
-
- org.activiti.cloud.services.query.events.handlers.BaseIntegrationEventHandler
-
- Direct Known Subclasses:
IntegrationErrorReceivedEventHandler,IntegrationRequestedEventHandler,IntegrationResultReceivedEventHandler
public abstract class BaseIntegrationEventHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.persistence.EntityManagerentityManagerprotected IntegrationContextRepositoryintegrationContextRepositoryprotected ServiceTaskRepositoryserviceTaskRepository
-
Constructor Summary
Constructors Constructor Description BaseIntegrationEventHandler(IntegrationContextRepository integrationContextRepository, ServiceTaskRepository serviceTaskRepository, javax.persistence.EntityManager entityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<IntegrationContextEntity>findOrCreateIntegrationContextEntity(CloudIntegrationEvent event)
-
-
-
Field Detail
-
integrationContextRepository
protected final IntegrationContextRepository integrationContextRepository
-
serviceTaskRepository
protected final ServiceTaskRepository serviceTaskRepository
-
entityManager
protected final javax.persistence.EntityManager entityManager
-
-
Constructor Detail
-
BaseIntegrationEventHandler
public BaseIntegrationEventHandler(IntegrationContextRepository integrationContextRepository, ServiceTaskRepository serviceTaskRepository, javax.persistence.EntityManager entityManager)
-
-
Method Detail
-
findOrCreateIntegrationContextEntity
protected Optional<IntegrationContextEntity> findOrCreateIntegrationContextEntity(CloudIntegrationEvent event)
-
-