org.hibernate
Class BaseSessionEventListener

java.lang.Object
  extended by 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
BaseSessionEventListener()
           
 
Method Summary
 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
 

Constructor Detail

BaseSessionEventListener

public BaseSessionEventListener()
Method Detail

transactionCompletion

public void transactionCompletion(boolean successful)
Specified by:
transactionCompletion in interface SessionEventListener

jdbcConnectionAcquisitionStart

public void jdbcConnectionAcquisitionStart()
Specified by:
jdbcConnectionAcquisitionStart in interface SessionEventListener

jdbcConnectionAcquisitionEnd

public void jdbcConnectionAcquisitionEnd()
Specified by:
jdbcConnectionAcquisitionEnd in interface SessionEventListener

jdbcConnectionReleaseStart

public void jdbcConnectionReleaseStart()
Specified by:
jdbcConnectionReleaseStart in interface SessionEventListener

jdbcConnectionReleaseEnd

public void jdbcConnectionReleaseEnd()
Specified by:
jdbcConnectionReleaseEnd in interface SessionEventListener

jdbcPrepareStatementStart

public void jdbcPrepareStatementStart()
Specified by:
jdbcPrepareStatementStart in interface SessionEventListener

jdbcPrepareStatementEnd

public void jdbcPrepareStatementEnd()
Specified by:
jdbcPrepareStatementEnd in interface SessionEventListener

jdbcExecuteStatementStart

public void jdbcExecuteStatementStart()
Specified by:
jdbcExecuteStatementStart in interface SessionEventListener

jdbcExecuteStatementEnd

public void jdbcExecuteStatementEnd()
Specified by:
jdbcExecuteStatementEnd in interface SessionEventListener

jdbcExecuteBatchStart

public void jdbcExecuteBatchStart()
Specified by:
jdbcExecuteBatchStart in interface SessionEventListener

jdbcExecuteBatchEnd

public void jdbcExecuteBatchEnd()
Specified by:
jdbcExecuteBatchEnd in interface SessionEventListener

cachePutStart

public void cachePutStart()
Specified by:
cachePutStart in interface SessionEventListener

cachePutEnd

public void cachePutEnd()
Specified by:
cachePutEnd in interface SessionEventListener

cacheGetStart

public void cacheGetStart()
Specified by:
cacheGetStart in interface SessionEventListener

cacheGetEnd

public void cacheGetEnd(boolean hit)
Specified by:
cacheGetEnd in interface SessionEventListener

flushStart

public void flushStart()
Specified by:
flushStart in interface SessionEventListener

flushEnd

public void flushEnd(int numberOfEntities,
                     int numberOfCollections)
Specified by:
flushEnd in interface SessionEventListener

partialFlushStart

public void partialFlushStart()
Specified by:
partialFlushStart in interface SessionEventListener

partialFlushEnd

public void partialFlushEnd(int numberOfEntities,
                            int numberOfCollections)
Specified by:
partialFlushEnd in interface SessionEventListener

dirtyCalculationStart

public void dirtyCalculationStart()
Specified by:
dirtyCalculationStart in interface SessionEventListener

dirtyCalculationEnd

public void dirtyCalculationEnd(boolean dirty)
Specified by:
dirtyCalculationEnd in interface SessionEventListener

end

public void end()
Specified by:
end in interface SessionEventListener


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.