Package dk.cloudcreate.essentials.components.foundation.transaction.spring
-
Class Summary Class Description SpringTransactionAwareUnitOfWork<TRX_MGR extends org.springframework.transaction.PlatformTransactionManager,UOW extends SpringTransactionAwareUnitOfWork<TRX_MGR,UOW>> Spring transaction-awareUnitOfWork
Specializations can choose to overrideSpringTransactionAwareUnitOfWork.onStart()to initialize any datastore specific resources (e.g.SpringTransactionAwareUnitOfWorkFactory<TRX_MGR extends org.springframework.transaction.PlatformTransactionManager,UOW extends SpringTransactionAwareUnitOfWork<TRX_MGR,UOW>> Variant of theUnitOfWorkFactorywhich can delegate the creation of the underlying transaction to the providedPlatformTransactionManagerinstance.
TheUnitOfWorktype specialization needs to extendSpringTransactionAwareUnitOfWork