类 RegisteredSynchronization

  • 所有已实现的接口:
    javax.transaction.Synchronization

    public class RegisteredSynchronization
    extends Object
    implements javax.transaction.Synchronization
    The JTA Synchronization Hibernate registers when needed for JTA callbacks.

    Note that we split the notion of the registered Synchronization and the processing of the Synchronization callbacks mainly to account for "separation of concerns", but also so that the transaction engine does not have to hold reference to the actual Synchronization that gets registered with the JTA system.

    作者:
    Steve Ebersole
    • 方法详细资料

      • beforeCompletion

        public void beforeCompletion()
        指定者:
        beforeCompletion 在接口中 javax.transaction.Synchronization
      • afterCompletion

        public void afterCompletion​(int status)
        指定者:
        afterCompletion 在接口中 javax.transaction.Synchronization