org.apache.cayenne.configuration.server
Interface DataSourceFactory

All Known Implementing Classes:
DBCPDataSourceFactory, DelegatingDataSourceFactory, JNDIDataSourceFactory, PropertyDataSourceFactory, XMLPoolingDataSourceFactory

public interface DataSourceFactory

Since:
3.1

Method Summary
 javax.sql.DataSource getDataSource(DataNodeDescriptor nodeDescriptor)
          Returns DataSource object based on the configuration provided in the "nodeDescriptor".
 

Method Detail

getDataSource

javax.sql.DataSource getDataSource(DataNodeDescriptor nodeDescriptor)
                                   throws java.lang.Exception
Returns DataSource object based on the configuration provided in the "nodeDescriptor".

Throws:
java.lang.Exception


Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.