View Javadoc

1   package org.kuali.ole.externalds;
2   
3   /**
4    * Created by IntelliJ IDEA.
5    * User: ND6967
6    * Date: 2/19/13
7    * Time: 12:39 PM
8    * To change this template use File | Settings | File Templates.
9    */
10  public class ExternalDataSourceFactory {
11      private static ExternalDataSourceFactory externalDataSourceFactory = new ExternalDataSourceFactory();
12  
13      public static ExternalDataSourceFactory getInstance() {
14          return externalDataSourceFactory;
15      }
16  
17      public ExternalDataSource getExternalDataSource(DataSourceConfig dataSourceConfig) {
18          ExternalDataSource externalDataSource = new Z3950DataSource();
19          return externalDataSource;
20      }
21  }