com.p6spy.engine.spy
Class P6CoreFactory

java.lang.Object
  extended bycom.p6spy.engine.spy.P6CoreFactory
All Implemented Interfaces:
P6Factory
Direct Known Subclasses:
P6LogFactory, P6OutageFactory

public class P6CoreFactory
extends java.lang.Object
implements P6Factory


Constructor Summary
P6CoreFactory()
           
 
Method Summary
 java.sql.Array getArray(java.sql.Array real, P6Statement statement, java.lang.String preparedQuery, java.lang.String query)
           
 java.sql.CallableStatement getCallableStatement(java.sql.CallableStatement real, P6Connection conn, java.lang.String p0)
           
 java.sql.Connection getConnection(java.sql.Connection conn)
           
 java.sql.DatabaseMetaData getDatabaseMetaData(java.sql.DatabaseMetaData real, P6Connection conn)
           
 P6Options getOptions()
           
 java.sql.PreparedStatement getPreparedStatement(java.sql.PreparedStatement real, P6Connection conn, java.lang.String p0)
           
 java.sql.ResultSet getResultSet(java.sql.ResultSet real, P6Statement statement, java.lang.String preparedQuery, java.lang.String query)
           
 java.sql.ResultSetMetaData getResultSetMetaData(java.sql.ResultSetMetaData real)
           
 java.sql.Statement getStatement(java.sql.Statement statement, P6Connection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P6CoreFactory

public P6CoreFactory()
Method Detail

getConnection

public java.sql.Connection getConnection(java.sql.Connection conn)
                                  throws java.sql.SQLException
Specified by:
getConnection in interface P6Factory
Throws:
java.sql.SQLException

getPreparedStatement

public java.sql.PreparedStatement getPreparedStatement(java.sql.PreparedStatement real,
                                                       P6Connection conn,
                                                       java.lang.String p0)
                                                throws java.sql.SQLException
Specified by:
getPreparedStatement in interface P6Factory
Throws:
java.sql.SQLException

getStatement

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

getCallableStatement

public java.sql.CallableStatement getCallableStatement(java.sql.CallableStatement real,
                                                       P6Connection conn,
                                                       java.lang.String p0)
                                                throws java.sql.SQLException
Specified by:
getCallableStatement in interface P6Factory
Throws:
java.sql.SQLException

getDatabaseMetaData

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

getResultSet

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

getArray

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

getResultSetMetaData

public java.sql.ResultSetMetaData getResultSetMetaData(java.sql.ResultSetMetaData real)
                                                throws java.sql.SQLException
Specified by:
getResultSetMetaData in interface P6Factory
Throws:
java.sql.SQLException

getOptions

public P6Options getOptions()
                     throws java.sql.SQLException
Specified by:
getOptions in interface P6Factory
Throws:
java.sql.SQLException