donaldp     01/04/01 17:08:12

  Added:       src/java/org/apache/cornerstone/services/datasource
                        DataSourceSelector.java
  Log:
  Added in DataSourceSelector
  
  Submitted by: "Eung-ju Park" <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.1                  
jakarta-avalon-cornerstone/src/java/org/apache/cornerstone/services/datasource/DataSourceSelector.java
  
  Index: DataSourceSelector.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included with this distribution in
   * the LICENSE file.
   */
  package org.apache.cornerstone.services.datasource;
  
  import org.apache.avalon.ComponentManagerException;
  import org.apache.avalon.ComponentSelector;
  import org.apache.avalon.util.datasource.DataSourceComponent;
  import org.apache.phoenix.Service;
  
  /**
   * DataSourceSelector
   *
   * @author <a href="mailto:[EMAIL PROTECTED]">Eung-ju Park</a>
   */
  public interface DataSourceSelector
      extends Service, ComponentSelector
  {
      /**
       * 
       * @param the name of data source
       * @return data source
       */
      DataSourceComponent selectDataSource( Object hint )
          throws ComponentManagerException;
  }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to