001    /*
002     * $Id: ProxyConnection.java,v 1.19 2014/04/27 18:55:22 oboehm Exp $
003     *
004     * Copyright (c) 2012-2014 by Oliver Boehm
005     *
006     * Licensed under the Apache License, Version 2.0 (the "License");
007     * you may not use this file except in compliance with the License.
008     * You may obtain a copy of the License at
009     *
010     *   http://www.apache.org/licenses/LICENSE-2.0
011     *
012     * Unless required by applicable law or agreed to in writing, software
013     * distributed under the License is distributed on an "AS IS" BASIS,
014     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express orimplied.
015     * See the License for the specific language governing permissions and
016     * limitations under the License.
017     *
018     * (c)reated 29.09.2012 by oliver (ob@oasd.de)
019     */
020    
021    package patterntesting.runtime.db;
022    
023    import java.sql.Connection;
024    
025    import patterntesting.runtime.monitor.db.ConnectionMonitor;
026    
027    /**
028     * This is a dynamic proxy for a JDBC connection which monitors together with
029     * the {@link ConnectionMonitor} the different newInstance() and close() call.
030     * <p>
031     * This class is moved now to patterntesting.runtime.monitor.db (since 1.4.2).
032     * </p>
033     * <p>
034     * TODO: Will be removed in 1.6.
035     * </p>
036     *
037     * @author oliver (ob@aosd.de)
038     * @since 1.3 (29.09.2012)
039     * @version $Revision: 1.19 $
040     * @deprecated use {@link patterntesting.runtime.monitor.db.ProxyConnection}
041     */
042    @Deprecated
043    public class ProxyConnection extends patterntesting.runtime.monitor.db.ProxyConnection {
044    
045        /**
046         * Instantiates a new proxy connection.
047         *
048         * @param connection the connection
049         */
050        protected ProxyConnection(final Connection connection) {
051            super(connection);
052        }
053    
054    }
055