org.synchronoss.cpo
Interface DataSourceInfo
- All Known Implementing Classes:
- ClassDataSourceInfo, DriverDataSourceInfo, JndiDataSourceInfo
public interface DataSourceInfo
Interface that defines the methods needed by CPO for any class that collects DataSource info and
instantiates the DataSource
- Author:
- david.berry
getDataSourceName
java.lang.String getDataSourceName()
- Returns:
- Returns the dataSourceName.
getDataSource
javax.sql.DataSource getDataSource()
throws CpoException
- Returns:
- Returns the DataSource
- Throws:
CpoException
getTablePrefix
java.lang.String getTablePrefix()
- Returns the tablePrefix or an empty string if no table prefix exists.
- Returns:
- Returns the tablePrefix to be used on the CPO Tables
Copyright © 2012. All Rights Reserved.