public class TransactionAwareEventDispatcher
extends com.atlassian.event.internal.AsynchronousAbleEventDispatcher
TransactionAwareEventPublisher.
The physical transaction for the calling thread should actually never be active when
{dispatch(ListenerInvoker, Object)} is called.| Modifier and Type | Field and Description |
|---|---|
static String |
DISABLE_TRANSACTION
Listeners with this scope will not be automatically run in transaction and will be responsible of transaction
management on it's own.
|
| Constructor and Description |
|---|
TransactionAwareEventDispatcher(com.atlassian.event.spi.EventExecutorFactory executorFactory,
org.springframework.transaction.PlatformTransactionManager transactionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(com.atlassian.event.spi.ListenerInvoker invoker,
Object event) |
public static final String DISABLE_TRANSACTION
public TransactionAwareEventDispatcher(com.atlassian.event.spi.EventExecutorFactory executorFactory,
org.springframework.transaction.PlatformTransactionManager transactionManager)
public void dispatch(com.atlassian.event.spi.ListenerInvoker invoker,
Object event)
dispatch in interface com.atlassian.event.spi.EventDispatcherdispatch in class com.atlassian.event.internal.AsynchronousAbleEventDispatcherCopyright © 2023 Atlassian. All rights reserved.