View Javadoc

1   /*
2    *******************************************************************************
3    * Copyright (c) 2005 Chris Rose and AIMedia
4    * All rights reserved. IConnectionStatusObserver and the accompanying materials
5    * are made available under the terms of the Common Public License v1.0
6    * which accompanies this distribution, and is available at
7    * http://www.eclipse.org/legal/cpl-v10.html
8    * 
9    * Contributors:
10   *     Chris Rose
11   *******************************************************************************/
12  package ca.spaz.cron.datasource.sql;
13  
14  /***
15   * Interface to be implemented by classes wishing to be notified of
16   * events pertaining to database connections.  Specifically, when a
17   * connection is made.
18   *  
19   * @author Chris Rose
20   */
21  public interface IConnectionStatusObserver {
22      
23      /***
24       * This method will be called when a connection to the specified
25       * connectionID is made.
26       * 
27       * @param conID the connection that was completed.
28       */
29      void connectionMade(String conID);
30      
31  }