1 package com.atlassian.activeobjects.internal;
2
3 import javax.sql.DataSource;
4
5 /**
6 * A class to resolve the driver class name from a given data source
7 */
8 public interface DriverNameExtractor {
9 /**
10 * Gets the driver class name from the data source
11 *
12 * @param dataSource the data source to resolve the driver class name from
13 * @return a driver class name
14 */
15 String getDriverName(DataSource dataSource);
16 }