com.onewebsql.dao
Interface DaoMonitor

All Known Implementing Classes:
JULDaoMonitor, Log4JDaoMonitor, NoOpDaoMonitor, PrintStreamDaoMonitor, SLF4JDaoMonitor

public interface DaoMonitor

The DAOMonitor logs information about SQL queries invoked by DAO object.


Method Summary
 void delete(DAO<?> dao, String deleteStatement, List<Value> parameters)
          Callback of DELETE statement.
 void insert(DAO<?> dao, String insertStatement, List<Value> parameters)
          Callback of INSERT statement.
 void selectObjectList(DAO<?> dao, String queryString, List<Value> parameters)
          Callback of SELECT query.
 void update(DAO<?> dao, String updateStatement, List<Value> parameters)
          Callback of UPDATE statement.
 

Method Detail

selectObjectList

void selectObjectList(DAO<?> dao,
                      String queryString,
                      List<Value> parameters)
Callback of SELECT query.

Parameters:
dao - DAO object
queryString - SQL query
parameters - SQL query parameters.

insert

void insert(DAO<?> dao,
            String insertStatement,
            List<Value> parameters)
Callback of INSERT statement.

Parameters:
dao - DAO object
insertStatement - SQL insert statement
parameters - SQL statement parameters.

update

void update(DAO<?> dao,
            String updateStatement,
            List<Value> parameters)
Callback of UPDATE statement.

Parameters:
dao - DAO object
updateStatement - SQL update statement
parameters - SQL statement parameters

delete

void delete(DAO<?> dao,
            String deleteStatement,
            List<Value> parameters)
Callback of DELETE statement.

Parameters:
dao - DAO object
deleteStatement - SQL delete statement
parameters - SQL statement parameters


Copyright © 2011-2013 e-point SA. All Rights Reserved.