org.apache.cayenne.configuration.server
Interface DbAdapterFactory

All Known Implementing Classes:
DefaultDbAdapterFactory

public interface DbAdapterFactory

Since:
3.1

Method Summary
 DbAdapter createAdapter(DataNodeDescriptor nodeDescriptor, javax.sql.DataSource dataSource)
          Returns an instance of DbAdapter if the factory detects that it knows how to handle the database.
 

Method Detail

createAdapter

DbAdapter createAdapter(DataNodeDescriptor nodeDescriptor,
                        javax.sql.DataSource dataSource)
                        throws java.lang.Exception
Returns an instance of DbAdapter if the factory detects that it knows how to handle the database.

Throws:
java.lang.Exception


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