Interface SynchronizationListenerFactory
-
- All Known Implementing Classes:
JTASynchronizationListener
public interface SynchronizationListenerFactory
Purpose: Generate synchronization listener objects of the appropriate type.
Description: This interface will be used by the AbstractTransactionController to obtain a listener that it will register against the external transaction in order to synchronize the unit of work. All new listener classes should implement this interface.
- See Also:
AbstractSynchronizationListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractSynchronizationListener
newSynchronizationListener(UnitOfWorkImpl unitOfWork, AbstractSession session, Object transaction, AbstractTransactionController controller)
INTERNAL: Create and return the synchronization listener object that can be registered to receive transaction notification callbacks.
-
-
-
Method Detail
-
newSynchronizationListener
AbstractSynchronizationListener newSynchronizationListener(UnitOfWorkImpl unitOfWork, AbstractSession session, Object transaction, AbstractTransactionController controller)
INTERNAL: Create and return the synchronization listener object that can be registered to receive transaction notification callbacks. The type of synchronization object that gets returned will be dependent upon the transaction system
-
-