Package org.hibernate.envers.event.spi
Class BaseEnversEventListener
- java.lang.Object
-
- org.hibernate.envers.event.spi.BaseEnversEventListener
-
- All Implemented Interfaces:
EnversListener
- Direct Known Subclasses:
BaseEnversCollectionEventListener
,BaseEnversUpdateEventListener
,EnversPostDeleteEventListenerImpl
,EnversPostInsertEventListenerImpl
public abstract class BaseEnversEventListener extends Object implements EnversListener
Base class for all Envers event listeners
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseEnversEventListener(EnversService enversService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkIfTransactionInProgress(SessionImplementor session)
protected void
generateBidirectionalCollectionChangeWorkUnits(AuditProcess auditProcess, EntityPersister entityPersister, String entityName, Object[] newState, Object[] oldState, SessionImplementor session)
protected EnversService
getEnversService()
-
-
-
Constructor Detail
-
BaseEnversEventListener
protected BaseEnversEventListener(EnversService enversService)
-
-
Method Detail
-
getEnversService
protected EnversService getEnversService()
-
generateBidirectionalCollectionChangeWorkUnits
protected final void generateBidirectionalCollectionChangeWorkUnits(AuditProcess auditProcess, EntityPersister entityPersister, String entityName, Object[] newState, Object[] oldState, SessionImplementor session)
-
checkIfTransactionInProgress
protected void checkIfTransactionInProgress(SessionImplementor session)
-
-