Package org.hibernate
Class BaseSessionEventListener
java.lang.Object
org.hibernate.BaseSessionEventListener
- All Implemented Interfaces:
Serializable,SessionEventListener
- Direct Known Subclasses:
StatisticalLoggingSessionEventListener
A no-op implementation of SessionEventListener. Intended as a convenient base class for developing
SessionEventListener implementations.
- Author:
- Steve Ebersole
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcacheGetEnd(boolean hit) voidvoidvoidvoiddirtyCalculationEnd(boolean dirty) voidvoidend()voidflushEnd(int numberOfEntities, int numberOfCollections) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidpartialFlushEnd(int numberOfEntities, int numberOfCollections) voidvoidtransactionCompletion(boolean successful) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.SessionEventListener
prePartialFlushEnd, prePartialFlushStart
-
Constructor Details
-
BaseSessionEventListener
public BaseSessionEventListener()
-
-
Method Details
-
transactionCompletion
public void transactionCompletion(boolean successful) - Specified by:
transactionCompletionin interfaceSessionEventListener
-
jdbcConnectionAcquisitionStart
public void jdbcConnectionAcquisitionStart()- Specified by:
jdbcConnectionAcquisitionStartin interfaceSessionEventListener
-
jdbcConnectionAcquisitionEnd
public void jdbcConnectionAcquisitionEnd()- Specified by:
jdbcConnectionAcquisitionEndin interfaceSessionEventListener
-
jdbcConnectionReleaseStart
public void jdbcConnectionReleaseStart()- Specified by:
jdbcConnectionReleaseStartin interfaceSessionEventListener
-
jdbcConnectionReleaseEnd
public void jdbcConnectionReleaseEnd()- Specified by:
jdbcConnectionReleaseEndin interfaceSessionEventListener
-
jdbcPrepareStatementStart
public void jdbcPrepareStatementStart()- Specified by:
jdbcPrepareStatementStartin interfaceSessionEventListener
-
jdbcPrepareStatementEnd
public void jdbcPrepareStatementEnd()- Specified by:
jdbcPrepareStatementEndin interfaceSessionEventListener
-
jdbcExecuteStatementStart
public void jdbcExecuteStatementStart()- Specified by:
jdbcExecuteStatementStartin interfaceSessionEventListener
-
jdbcExecuteStatementEnd
public void jdbcExecuteStatementEnd()- Specified by:
jdbcExecuteStatementEndin interfaceSessionEventListener
-
jdbcExecuteBatchStart
public void jdbcExecuteBatchStart()- Specified by:
jdbcExecuteBatchStartin interfaceSessionEventListener
-
jdbcExecuteBatchEnd
public void jdbcExecuteBatchEnd()- Specified by:
jdbcExecuteBatchEndin interfaceSessionEventListener
-
cachePutStart
public void cachePutStart()- Specified by:
cachePutStartin interfaceSessionEventListener
-
cachePutEnd
public void cachePutEnd()- Specified by:
cachePutEndin interfaceSessionEventListener
-
cacheGetStart
public void cacheGetStart()- Specified by:
cacheGetStartin interfaceSessionEventListener
-
cacheGetEnd
public void cacheGetEnd(boolean hit) - Specified by:
cacheGetEndin interfaceSessionEventListener
-
flushStart
public void flushStart()- Specified by:
flushStartin interfaceSessionEventListener
-
flushEnd
public void flushEnd(int numberOfEntities, int numberOfCollections) - Specified by:
flushEndin interfaceSessionEventListener
-
partialFlushStart
public void partialFlushStart()- Specified by:
partialFlushStartin interfaceSessionEventListener
-
partialFlushEnd
public void partialFlushEnd(int numberOfEntities, int numberOfCollections) - Specified by:
partialFlushEndin interfaceSessionEventListener
-
dirtyCalculationStart
public void dirtyCalculationStart()- Specified by:
dirtyCalculationStartin interfaceSessionEventListener
-
dirtyCalculationEnd
public void dirtyCalculationEnd(boolean dirty) - Specified by:
dirtyCalculationEndin interfaceSessionEventListener
-
end
public void end()- Specified by:
endin interfaceSessionEventListener
-