001 /*
002 * $Id: ConnectionMonitor.java,v 1.12 2014/04/27 18:55:22 oboehm Exp $
003 *
004 * Copyright (c) 2012 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 07.10.2012 by oliver (ob@oasd.de)
019 */
020
021 package patterntesting.runtime.db;
022
023 import patterntesting.runtime.monitor.db.ProxyConnection;
024
025
026
027 /**
028 * This is the monitor class for the {@link ProxyConnection} which monitors the
029 * different newInstance() and close() call. So you can ask this class how many
030 * and which connections are open.
031 * <p>
032 * The instance of this class is automatically registered as MBean as soon as a
033 * {@link ProxyConnection} is used.
034 * </p>
035 * <p>
036 * TODO: Will be removed in 1.6.
037 * </p>
038 *
039 * @author oliver (ob@aosd.de)
040 * @since 1.3 (07.10.2012)
041 * @version $Revision: 1.12 $
042 * @deprecated use {@link patterntesting.runtime.monitor.db.ConnectionMonitor}
043 */
044 @Deprecated
045 public final class ConnectionMonitor extends patterntesting.runtime.monitor.db.ConnectionMonitor {
046
047 /** No need to instantiate it - we provide only some services. */
048 private ConnectionMonitor() {
049 super();
050 }
051
052 }
053