Modifier and Type | Method and Description |
---|---|
SimpleCommandBus.Builder |
SimpleCommandBus.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage transactions. |
AsynchronousCommandBus.Builder |
AsynchronousCommandBus.Builder.transactionManager(TransactionManager transactionManager) |
Constructor and Description |
---|
PagingJpaQueryIterable(int pageSize,
TransactionManager transactionManager,
Supplier<javax.persistence.TypedQuery<T>> querySupplier,
Function<T,R> lazyMappingFunction)
Constructs a new
Iterable using the provided querySupplier to construct queries when a new page
needs to be fetched. |
Modifier and Type | Class and Description |
---|---|
class |
NoTransactionManager
TransactionManager implementation that does nothing.
|
Modifier and Type | Method and Description |
---|---|
static TransactionManager |
NoTransactionManager.instance()
Returns the singleton instance of this TransactionManager
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Component<TransactionManager>> |
EventProcessingModule.transactionManagers |
Modifier and Type | Method and Description |
---|---|
TransactionManager |
EventProcessingModule.transactionManager(String processorName) |
TransactionManager |
EventProcessingConfiguration.transactionManager(String processorName)
Returns the
TransactionManager tied to the given processorName . |
Modifier and Type | Method and Description |
---|---|
static Configurer |
DefaultConfigurer.jpaConfiguration(EntityManagerProvider entityManagerProvider,
TransactionManager transactionManager)
Returns a Configurer instance which has JPA versions of building blocks configured, such as a JPA based Event
Store (see
JpaEventStorageEngine ), a JpaTokenStore and JpaSagaStore . |
Modifier and Type | Method and Description |
---|---|
SimpleDeadlineManager.Builder |
SimpleDeadlineManager.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to build transactions and ties them to deadline. |
Modifier and Type | Method and Description |
---|---|
QuartzDeadlineManager.Builder |
QuartzDeadlineManager.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to build transactions and ties them to deadline. |
Modifier and Type | Method and Description |
---|---|
DisruptorCommandBus.Builder |
DisruptorCommandBus.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager to use to manage a transaction around the storage and publication of
events. |
Constructor and Description |
---|
EventPublisher(Executor executor,
TransactionManager transactionManager,
RollbackConfiguration rollbackConfiguration,
int segmentId)
Initializes the EventPublisher to publish Events to the given
eventStore and eventBus for
aggregate of given aggregateType . |
Modifier and Type | Method and Description |
---|---|
TrackingEventProcessor.Builder |
TrackingEventProcessor.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used when processing EventMessage s. |
SubscribingEventProcessor.Builder |
SubscribingEventProcessor.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used when processing EventMessage s. |
Modifier and Type | Method and Description |
---|---|
DeadLetteringEventHandlerInvoker.Builder |
DeadLetteringEventHandlerInvoker.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used by this invoker for all operations involving the configured
SequencedDeadLetterQueue . |
Modifier and Type | Method and Description |
---|---|
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage transaction around fetching event data. |
Modifier and Type | Method and Description |
---|---|
PooledStreamingEventProcessor.Builder |
PooledStreamingEventProcessor.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used when processing EventMessage s. |
Modifier and Type | Method and Description |
---|---|
SimpleEventScheduler.Builder |
SimpleEventScheduler.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to build transactions and ties them on event publication. |
Modifier and Type | Method and Description |
---|---|
QuartzEventScheduler.Builder |
QuartzEventScheduler.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to build transactions and ties them on event publication. |
Modifier and Type | Method and Description |
---|---|
AggregateSnapshotter.Builder |
AggregateSnapshotter.Builder.transactionManager(TransactionManager transactionManager) |
AbstractSnapshotter.Builder |
AbstractSnapshotter.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage the transaction around storing the snapshot. |
Modifier and Type | Method and Description |
---|---|
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage transactions around fetching event data. |
Modifier and Type | Method and Description |
---|---|
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage transaction around fetching event data. |
Constructor and Description |
---|
TransactionManagingInterceptor(TransactionManager transactionManager)
Initializes a
TransactionManagingInterceptor that uses the given transactionManager . |
Modifier and Type | Method and Description |
---|---|
default void |
UnitOfWork.attachTransaction(TransactionManager transactionManager)
Attach a transaction to this Unit of Work, using the given
transactionManager . |
Modifier and Type | Method and Description |
---|---|
SimpleQueryBus.Builder |
SimpleQueryBus.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage the query handling transactions. |
Modifier and Type | Method and Description |
---|---|
TransactionManager |
TransactionManagerFactoryBean.getObject()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SpringAggregateSnapshotter.Builder |
SpringAggregateSnapshotter.Builder.transactionManager(TransactionManager transactionManager) |
Modifier and Type | Class and Description |
---|---|
class |
SpringTransactionManager
TransactionManager implementation that uses a
PlatformTransactionManager as
underlying transaction manager. |
Modifier and Type | Method and Description |
---|---|
TransactionManager |
NoOpTransactionAutoConfiguration.axonTransactionManager() |
TransactionManager |
TransactionAutoConfiguration.axonTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
SpringAggregateSnapshotter |
AxonAutoConfiguration.aggregateSnapshotter(Configuration configuration,
HandlerDefinition handlerDefinition,
ParameterResolverFactory parameterResolverFactory,
EventStore eventStore,
TransactionManager transactionManager,
SpanFactory spanFactory) |
SimpleCommandBus |
AxonAutoConfiguration.commandBus(TransactionManager txManager,
Configuration axonConfiguration,
DuplicateCommandHandlerResolver duplicateCommandHandlerResolver) |
EventStorageEngine |
JdbcAutoConfiguration.eventStorageEngine(Serializer defaultSerializer,
PersistenceExceptionResolver persistenceExceptionResolver,
Serializer eventSerializer,
Configuration configuration,
ConnectionProvider connectionProvider,
TransactionManager transactionManager) |
EventStorageEngine |
JpaEventStoreAutoConfiguration.eventStorageEngine(Serializer defaultSerializer,
PersistenceExceptionResolver persistenceExceptionResolver,
Serializer eventSerializer,
Configuration configuration,
EntityManagerProvider entityManagerProvider,
TransactionManager transactionManager) |
AxonServerQueryBus |
AxonServerBusAutoConfiguration.queryBus(AxonServerConnectionManager axonServerConnectionManager,
AxonServerConfiguration axonServerConfiguration,
Configuration axonConfiguration,
TransactionManager txManager,
Serializer messageSerializer,
Serializer genericSerializer,
QueryPriorityCalculator priorityCalculator,
QueryInvocationErrorHandler queryInvocationErrorHandler,
TargetContextResolver<? super QueryMessage<?,?>> targetContextResolver) |
SimpleQueryBus |
AxonAutoConfiguration.queryBus(Configuration axonConfiguration,
TransactionManager transactionManager) |
Copyright © 2010–2023. All rights reserved.