Class JKDataSourceListener

java.lang.Object
com.jk.data.datasource.JKDataSourceListener
All Implemented Interfaces:
Serializable, org.hibernate.SessionEventListener

public class JKDataSourceListener extends Object implements org.hibernate.SessionEventListener
The listener class for receiving JKDataSourceEvent.

The class that is interested in processing a JKDataSourceEvent implements this interface, and the object created with that class is registered with a component using the component's method. When the JKDataSource event occurs, that object's appropriate method is invoked.

Version:
1.0
Author:
Dr. Jalal H. Kiswani
See Also:
  • Constructor Details

    • JKDataSourceListener

      public JKDataSourceListener(int index)
      This method constructs a new JKDataSourceListener.
      Parameters:
      index - Specifies the index associated with the listener.
  • Method Details

    • transactionCompletion

      public void transactionCompletion(boolean successful)
      This method is yet to be implemented (TBI).
      Specified by:
      transactionCompletion in interface org.hibernate.SessionEventListener
    • jdbcConnectionAcquisitionStart

      public void jdbcConnectionAcquisitionStart()
      This method is yet to be implemented (TBI).
      Specified by:
      jdbcConnectionAcquisitionStart in interface org.hibernate.SessionEventListener
    • jdbcConnectionAcquisitionEnd

      public void jdbcConnectionAcquisitionEnd()
      This method is yet to be implemented (TBI).
      Specified by:
      jdbcConnectionAcquisitionEnd in interface org.hibernate.SessionEventListener
    • jdbcConnectionReleaseStart

      public void jdbcConnectionReleaseStart()
      This method is yet to be implemented (TBI).
      Specified by:
      jdbcConnectionReleaseStart in interface org.hibernate.SessionEventListener
    • jdbcConnectionReleaseEnd

      public void jdbcConnectionReleaseEnd()
      This method is yet to be implemented (TBI).
      Specified by:
      jdbcConnectionReleaseEnd in interface org.hibernate.SessionEventListener
    • jdbcPrepareStatementStart

      public void jdbcPrepareStatementStart()
      This method is yet to be implemented (TBI).
      Specified by:
      jdbcPrepareStatementStart in interface org.hibernate.SessionEventListener
    • jdbcPrepareStatementEnd

      public void jdbcPrepareStatementEnd()
      This method is yet to be implemented (TBI).
      Specified by:
      jdbcPrepareStatementEnd in interface org.hibernate.SessionEventListener
    • jdbcExecuteStatementStart

      public void jdbcExecuteStatementStart()
      This method is yet to be implemented (TBI).
      Specified by:
      jdbcExecuteStatementStart in interface org.hibernate.SessionEventListener
    • jdbcExecuteStatementEnd

      public void jdbcExecuteStatementEnd()
      This method is yet to be implemented (TBI).
      Specified by:
      jdbcExecuteStatementEnd in interface org.hibernate.SessionEventListener
    • jdbcExecuteBatchStart

      public void jdbcExecuteBatchStart()
      This method is yet to be implemented (TBI).
      Specified by:
      jdbcExecuteBatchStart in interface org.hibernate.SessionEventListener
    • jdbcExecuteBatchEnd

      public void jdbcExecuteBatchEnd()
      This method is yet to be implemented (TBI).
      Specified by:
      jdbcExecuteBatchEnd in interface org.hibernate.SessionEventListener
    • cachePutStart

      public void cachePutStart()
      This method is yet to be implemented (TBI).
      Specified by:
      cachePutStart in interface org.hibernate.SessionEventListener
    • cachePutEnd

      public void cachePutEnd()
      This method is yet to be implemented (TBI).
      Specified by:
      cachePutEnd in interface org.hibernate.SessionEventListener
    • cacheGetStart

      public void cacheGetStart()
      This method is yet to be implemented (TBI).
      Specified by:
      cacheGetStart in interface org.hibernate.SessionEventListener
    • cacheGetEnd

      public void cacheGetEnd(boolean hit)
      This method is yet to be implemented (TBI).
      Specified by:
      cacheGetEnd in interface org.hibernate.SessionEventListener
    • flushStart

      public void flushStart()
      This method is yet to be implemented (TBI).
      Specified by:
      flushStart in interface org.hibernate.SessionEventListener
    • flushEnd

      public void flushEnd(int numberOfEntities, int numberOfCollections)
      This method is yet to be implemented (TBI).
      Specified by:
      flushEnd in interface org.hibernate.SessionEventListener
    • partialFlushStart

      public void partialFlushStart()
      This method is yet to be implemented (TBI).
      Specified by:
      partialFlushStart in interface org.hibernate.SessionEventListener
    • partialFlushEnd

      public void partialFlushEnd(int numberOfEntities, int numberOfCollections)
      This method is yet to be implemented (TBI).
      Specified by:
      partialFlushEnd in interface org.hibernate.SessionEventListener
    • dirtyCalculationStart

      public void dirtyCalculationStart()
      This method is yet to be implemented (TBI).
      Specified by:
      dirtyCalculationStart in interface org.hibernate.SessionEventListener
    • dirtyCalculationEnd

      public void dirtyCalculationEnd(boolean dirty)
      This method is yet to be implemented (TBI).
      Specified by:
      dirtyCalculationEnd in interface org.hibernate.SessionEventListener
    • end

      public void end()
      This method is yet to be implemented (TBI).
      Specified by:
      end in interface org.hibernate.SessionEventListener