patterntesting.runtime.db.ProxyConnection Maven / Gradle / Ivy
/*
* $Id: ProxyConnection.java,v 1.19 2014/04/27 18:55:22 oboehm Exp $
*
* Copyright (c) 2012-2014 by Oliver Boehm
*
* 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 orimplied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* (c)reated 29.09.2012 by oliver ([email protected])
*/
package patterntesting.runtime.db;
import java.sql.Connection;
import patterntesting.runtime.monitor.db.ConnectionMonitor;
/**
* This is a dynamic proxy for a JDBC connection which monitors together with
* the {@link ConnectionMonitor} the different newInstance() and close() call.
*
* This class is moved now to patterntesting.runtime.monitor.db (since 1.4.2).
*
*
* TODO: Will be removed in 1.6.
*
*
* @author oliver ([email protected])
* @since 1.3 (29.09.2012)
* @version $Revision: 1.19 $
* @deprecated use {@link patterntesting.runtime.monitor.db.ProxyConnection}
*/
@Deprecated
public class ProxyConnection extends patterntesting.runtime.monitor.db.ProxyConnection {
/**
* Instantiates a new proxy connection.
*
* @param connection the connection
*/
protected ProxyConnection(final Connection connection) {
super(connection);
}
}