com.p6spy.engine.spy
Interface P6Factory
public
interface
P6Factory
p6factory exists to make extending the spy core easier when making
a new module. Since there are so many methods that
return a NEW object of some type (connection, etc)
either you would be forced to overload them all, or we could use this
factory method to handle that situation. not perfect, but should make
extending and maintaining the code far easier.
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 real, P6Connection conn) |
public Array getArray(Array real,
P6Statement statement, String preparedQuery, String query)
public CallableStatement getCallableStatement(CallableStatement real,
P6Connection conn, String p0)
public Connection getConnection(Connection conn)
public DatabaseMetaData getDatabaseMetaData(DatabaseMetaData real,
P6Connection conn)
public PreparedStatement getPreparedStatement(PreparedStatement real,
P6Connection conn, String p0)
public ResultSet getResultSet(ResultSet real,
P6Statement statement, String preparedQuery, String query)
public ResultSetMetaData getResultSetMetaData(ResultSetMetaData real)
public Statement getStatement(Statement real,
P6Connection conn)