com.p6spy.engine.logging

Class P6LogFactory

Implemented Interfaces:
P6Factory

public class P6LogFactory
extends P6CoreFactory

Description: factory for getting real values. $Author: jeffgoke $ $Revision: 1.4 $ $Date: 2003/01/21 22:50:30 $ $Id: P6LogFactory.java,v 1.4 2003/01/21 22:50:30 jeffgoke Exp $ $Source: /cvsroot/p6spy/p6spy/com/p6spy/engine/logging/P6LogFactory.java,v $ $Log: P6LogFactory.java,v $ Revision 1.4 2003/01/21 22:50:30 jeffgoke removed code no longer necessary due to the new module Revision 1.3 2002/12/06 22:28:43 aarvesen new factory registration in the constructor Revision 1.2 2002/10/06 18:22:12 jeffgoke no message Revision 1.1 2002/05/24 07:31:45 jeffgoke version 1 rewrite

Constructor Summary

P6LogFactory()

Method Summary

CallableStatement
getCallableStatement(CallableStatement real, P6Connection conn, String p0)
Connection
getConnection(Connection conn)
PreparedStatement
getPreparedStatement(PreparedStatement real, P6Connection conn, String p0)
ResultSet
getResultSet(ResultSet real, P6Statement statement, String preparedQuery, String query)
Statement
getStatement(Statement statement, P6Connection conn)

Methods inherited from class com.p6spy.engine.spy.P6CoreFactory

getArray, getCallableStatement, getConnection, getDatabaseMetaData, getOptions, getPreparedStatement, getResultSet, getResultSetMetaData, getStatement

Constructor Details

P6LogFactory

public P6LogFactory()

Method Details

getCallableStatement

public CallableStatement getCallableStatement(CallableStatement real,
                                              P6Connection conn,
                                              String p0)
            throws SQLException
Specified by:
getCallableStatement in interface P6Factory
Overrides:
getCallableStatement in interface P6CoreFactory


getConnection

public Connection getConnection(Connection conn)
            throws SQLException
Specified by:
getConnection in interface P6Factory
Overrides:
getConnection in interface P6CoreFactory


getPreparedStatement

public PreparedStatement getPreparedStatement(PreparedStatement real,
                                              P6Connection conn,
                                              String p0)
            throws SQLException
Specified by:
getPreparedStatement in interface P6Factory
Overrides:
getPreparedStatement in interface P6CoreFactory


getResultSet

public ResultSet getResultSet(ResultSet real,
                              P6Statement statement,
                              String preparedQuery,
                              String query)
            throws SQLException
Specified by:
getResultSet in interface P6Factory
Overrides:
getResultSet in interface P6CoreFactory


getStatement

public Statement getStatement(Statement statement,
                              P6Connection conn)
            throws SQLException
Specified by:
getStatement in interface P6Factory
Overrides:
getStatement in interface P6CoreFactory