org.apache.cayenne.configuration.server
Interface DataSourceFactory

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

public interface DataSourceFactory

Since:
3.1

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

Method Detail

getDataSource

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

Throws:
Exception


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