Package org.hibernate
Class BaseSessionEventListener
- java.lang.Object
-
- org.hibernate.BaseSessionEventListener
-
- All Implemented Interfaces:
java.io.Serializable,SessionEventListener
public class BaseSessionEventListener extends java.lang.Object implements SessionEventListener
A no-op implementation of SessionEventListener. Intended as a convenient base class for developing SessionEventListener implementations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseSessionEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcacheGetEnd(boolean hit)voidcacheGetStart()voidcachePutEnd()voidcachePutStart()voiddirtyCalculationEnd(boolean dirty)voiddirtyCalculationStart()voidend()voidflushEnd(int numberOfEntities, int numberOfCollections)voidflushStart()voidjdbcConnectionAcquisitionEnd()voidjdbcConnectionAcquisitionStart()voidjdbcConnectionReleaseEnd()voidjdbcConnectionReleaseStart()voidjdbcExecuteBatchEnd()voidjdbcExecuteBatchStart()voidjdbcExecuteStatementEnd()voidjdbcExecuteStatementStart()voidjdbcPrepareStatementEnd()voidjdbcPrepareStatementStart()voidpartialFlushEnd(int numberOfEntities, int numberOfCollections)voidpartialFlushStart()voidtransactionCompletion(boolean successful)
-
-
-
Method Detail
-
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
-
-