Package org.hibernate
Class BaseSessionEventListener
- java.lang.Object
-
- org.hibernate.BaseSessionEventListener
-
- All Implemented Interfaces:
Serializable
,SessionEventListener
- Direct Known Subclasses:
StatisticalLoggingSessionEventListener
public class BaseSessionEventListener extends 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 void
cacheGetEnd(boolean hit)
void
cacheGetStart()
void
cachePutEnd()
void
cachePutStart()
void
dirtyCalculationEnd(boolean dirty)
void
dirtyCalculationStart()
void
end()
void
flushEnd(int numberOfEntities, int numberOfCollections)
void
flushStart()
void
jdbcConnectionAcquisitionEnd()
void
jdbcConnectionAcquisitionStart()
void
jdbcConnectionReleaseEnd()
void
jdbcConnectionReleaseStart()
void
jdbcExecuteBatchEnd()
void
jdbcExecuteBatchStart()
void
jdbcExecuteStatementEnd()
void
jdbcExecuteStatementStart()
void
jdbcPrepareStatementEnd()
void
jdbcPrepareStatementStart()
void
partialFlushEnd(int numberOfEntities, int numberOfCollections)
void
partialFlushStart()
void
transactionCompletion(boolean successful)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.SessionEventListener
prePartialFlushEnd, prePartialFlushStart
-
-
-
-
Method Detail
-
transactionCompletion
public void transactionCompletion(boolean successful)
- Specified by:
transactionCompletion
in interfaceSessionEventListener
-
jdbcConnectionAcquisitionStart
public void jdbcConnectionAcquisitionStart()
- Specified by:
jdbcConnectionAcquisitionStart
in interfaceSessionEventListener
-
jdbcConnectionAcquisitionEnd
public void jdbcConnectionAcquisitionEnd()
- Specified by:
jdbcConnectionAcquisitionEnd
in interfaceSessionEventListener
-
jdbcConnectionReleaseStart
public void jdbcConnectionReleaseStart()
- Specified by:
jdbcConnectionReleaseStart
in interfaceSessionEventListener
-
jdbcConnectionReleaseEnd
public void jdbcConnectionReleaseEnd()
- Specified by:
jdbcConnectionReleaseEnd
in interfaceSessionEventListener
-
jdbcPrepareStatementStart
public void jdbcPrepareStatementStart()
- Specified by:
jdbcPrepareStatementStart
in interfaceSessionEventListener
-
jdbcPrepareStatementEnd
public void jdbcPrepareStatementEnd()
- Specified by:
jdbcPrepareStatementEnd
in interfaceSessionEventListener
-
jdbcExecuteStatementStart
public void jdbcExecuteStatementStart()
- Specified by:
jdbcExecuteStatementStart
in interfaceSessionEventListener
-
jdbcExecuteStatementEnd
public void jdbcExecuteStatementEnd()
- Specified by:
jdbcExecuteStatementEnd
in interfaceSessionEventListener
-
jdbcExecuteBatchStart
public void jdbcExecuteBatchStart()
- Specified by:
jdbcExecuteBatchStart
in interfaceSessionEventListener
-
jdbcExecuteBatchEnd
public void jdbcExecuteBatchEnd()
- Specified by:
jdbcExecuteBatchEnd
in interfaceSessionEventListener
-
cachePutStart
public void cachePutStart()
- Specified by:
cachePutStart
in interfaceSessionEventListener
-
cachePutEnd
public void cachePutEnd()
- Specified by:
cachePutEnd
in interfaceSessionEventListener
-
cacheGetStart
public void cacheGetStart()
- Specified by:
cacheGetStart
in interfaceSessionEventListener
-
cacheGetEnd
public void cacheGetEnd(boolean hit)
- Specified by:
cacheGetEnd
in interfaceSessionEventListener
-
flushStart
public void flushStart()
- Specified by:
flushStart
in interfaceSessionEventListener
-
flushEnd
public void flushEnd(int numberOfEntities, int numberOfCollections)
- Specified by:
flushEnd
in interfaceSessionEventListener
-
partialFlushStart
public void partialFlushStart()
- Specified by:
partialFlushStart
in interfaceSessionEventListener
-
partialFlushEnd
public void partialFlushEnd(int numberOfEntities, int numberOfCollections)
- Specified by:
partialFlushEnd
in interfaceSessionEventListener
-
dirtyCalculationStart
public void dirtyCalculationStart()
- Specified by:
dirtyCalculationStart
in interfaceSessionEventListener
-
dirtyCalculationEnd
public void dirtyCalculationEnd(boolean dirty)
- Specified by:
dirtyCalculationEnd
in interfaceSessionEventListener
-
end
public void end()
- Specified by:
end
in interfaceSessionEventListener
-
-