/*
 * Copyright (C) 2013, 2014 Brett Wooldridge
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.zaxxer.hikari.proxy;

import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.Statement;

import com.zaxxer.hikari.HikariPool;

/**
 * A factory class that produces proxies around instances of the standard
 * JDBC interfaces.
 *
 * @author Brett Wooldridge
 */
public final class ProxyFactory
{
    private ProxyFactory()
    {
        // unconstrucable
    }

    /**
     * Create a proxy for the specified {@link Connection} instance.
     *
     * @param pool the {@link HikariPool} that will own this proxy
     * @param connection the {@link Connection} that will be wrapped by this proxy
     * @param defaultIsolationLevel the default transaction isolation level of the underlying {@link Connection}
     * @param defaultAutoCommit the default auto-commit state of the underlying {@link Connection}
     * @param defaultIReadOnly the default readOnly state of the underlying {@link Connection}
     * @param defaultCatalog the default catalog of the underlying {@link Connection}
     * @return a proxy that wraps the specified {@link Connection}
     */
    public static IHikariConnectionProxy getProxyConnection(HikariPool pool, Connection connection, int defaultIsolationLevel, boolean defaultAutoCommit, boolean defaultIReadOnly, String defaultCatalog)
    {
        // Body is injected by JavassistProxyFactory
        return null;
    }

    static Statement getProxyStatement(ConnectionProxy connection, Statement statement)
    {
        // Body is injected by JavassistProxyFactory
        return null;
    }

    static CallableStatement getProxyCallableStatement(ConnectionProxy connection, CallableStatement statement)
    {
        // Body is injected by JavassistProxyFactory
        return null;
    }

    static PreparedStatement getProxyPreparedStatement(ConnectionProxy connection, PreparedStatement statement)
    {
        // Body is injected by JavassistProxyFactory
        return null;
    }
}

@@ -1019,16 +1019,17 @@
 construc
+t
 able%0A   

Fix typo.