|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceFactory
A pluggable factory for javax.sql.DataSource instances used by Cayenne runtime.
Method Summary | |
---|---|
DataSource |
getDataSource(String location)
Returns DataSource object corresponding to location . |
void |
initializeWithParentConfiguration(Configuration conf)
Initializes factory with the parent configuration object. |
Method Detail |
---|
void initializeWithParentConfiguration(Configuration conf)
DataSource getDataSource(String location) throws Exception
location
. Concrete
implementations may treat location differently - as a file path, JNDI location,
etc.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |