接口 SynchronizationRegistryImplementor
-
- 所有超级接口:
Serializable,SynchronizationRegistry
- 所有已知实现类:
SynchronizationRegistryStandardImpl
public interface SynchronizationRegistryImplementor extends SynchronizationRegistry
SPI contract for SynchronizationRegistry implementors.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidclearSynchronizations()Clears all synchronizations from this registry.voidnotifySynchronizationsAfterTransactionCompletion(int status)Delegates theSynchronization.afterCompletion(int)call to each registered Synchronization.voidnotifySynchronizationsBeforeTransactionCompletion()Delegates theSynchronization.beforeCompletion()call to each registered Synchronization-
从接口继承的方法 org.hibernate.resource.transaction.spi.SynchronizationRegistry
registerSynchronization
-
-
-
-
方法详细资料
-
notifySynchronizationsBeforeTransactionCompletion
void notifySynchronizationsBeforeTransactionCompletion()
Delegates theSynchronization.beforeCompletion()call to each registered Synchronization
-
notifySynchronizationsAfterTransactionCompletion
void notifySynchronizationsAfterTransactionCompletion(int status)
Delegates theSynchronization.afterCompletion(int)call to each registered Synchronization. Will also clear the registered Synchronizations after all have been notified.- 参数:
status- The transaction status, perStatusconstants
-
clearSynchronizations
void clearSynchronizations()
Clears all synchronizations from this registry. Note that synchronizations are automatically cleared during after-completion handling; seenotifySynchronizationsAfterTransactionCompletion(int)
-
-