com.p6spy.engine.spy

Class P6CoreFactory

Implemented Interfaces:
P6Factory
Known Direct Subclasses:
P6LogFactory, P6OutageFactory

public class P6CoreFactory
extends Object
implements P6Factory

Description: factory for getting real values. $Author: jeffgoke $ $Revision: 1.5 $ $Date: 2003/01/28 17:01:11 $ $Id: P6CoreFactory.java,v 1.5 2003/01/28 17:01:11 jeffgoke Exp $ $Source: /cvsroot/p6spy/p6spy/com/p6spy/engine/spy/P6CoreFactory.java,v $ $Log: P6CoreFactory.java,v $ Revision 1.5 2003/01/28 17:01:11 jeffgoke rewrote options to the ability for a module to have its own option set Revision 1.4 2003/01/21 22:50:35 jeffgoke removed code no longer necessary due to the new module Revision 1.3 2002/12/06 22:41:27 aarvesen New factory registration in the constructor. Revision 1.2 2002/10/06 18:23:25 jeffgoke no message Revision 1.1 2002/05/24 07:31:13 jeffgoke version 1 rewrite

Constructor Summary

P6CoreFactory()

Method Summary

Array
getArray(Array real, P6Statement statement, String preparedQuery, String query)
CallableStatement
getCallableStatement(CallableStatement real, P6Connection conn, String p0)
Connection
getConnection(Connection conn)
DatabaseMetaData
getDatabaseMetaData(DatabaseMetaData real, P6Connection conn)
P6Options
getOptions()
PreparedStatement
getPreparedStatement(PreparedStatement real, P6Connection conn, String p0)
ResultSet
getResultSet(ResultSet real, P6Statement statement, String preparedQuery, String query)
ResultSetMetaData
getResultSetMetaData(ResultSetMetaData real)
Statement
getStatement(Statement statement, P6Connection conn)

Constructor Details

P6CoreFactory

public P6CoreFactory()

Method Details

getArray

public Array getArray(Array real,
                      P6Statement statement,
                      String preparedQuery,
                      String query)
            throws SQLException
Specified by:
getArray in interface P6Factory


getCallableStatement

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


getConnection

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


getDatabaseMetaData

public DatabaseMetaData getDatabaseMetaData(DatabaseMetaData real,
                                            P6Connection conn)
            throws SQLException
Specified by:
getDatabaseMetaData in interface P6Factory


getOptions

public P6Options getOptions()
            throws SQLException
Specified by:
getOptions in interface P6Factory


getPreparedStatement

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


getResultSet

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


getResultSetMetaData

public ResultSetMetaData getResultSetMetaData(ResultSetMetaData real)
            throws SQLException
Specified by:
getResultSetMetaData in interface P6Factory


getStatement

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