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.
AbstractSynchronizationListener
Modifier and Type | Method and Description |
---|---|
AbstractSynchronizationListener |
newSynchronizationListener(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl unitOfWork,
org.eclipse.persistence.internal.sessions.AbstractSession session,
java.lang.Object transaction,
AbstractTransactionController controller)
INTERNAL:
Create and return the synchronization listener object that can be registered
to receive transaction notification callbacks.
|
AbstractSynchronizationListener newSynchronizationListener(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl unitOfWork, org.eclipse.persistence.internal.sessions.AbstractSession session, java.lang.Object transaction, AbstractTransactionController controller)