1 56 package org.objectstyle.cayenne.conf; 57 58 import javax.sql.DataSource ; 59 60 import org.apache.log4j.Level; 61 62 63 66 public interface DataSourceFactory { 67 68 71 public void initializeWithParentConfiguration(Configuration conf); 72 73 78 public DataSource getDataSource(String location) throws Exception ; 79 80 86 public DataSource getDataSource(String location, Level logLevel) throws Exception ; 87 } 88 | Popular Tags |