Package org.apache.cayenne.configuration.server

# Interface DbAdapterFactory

All Known Implementing Classes:
  `DefaultDbAdapterFactory`

public interface DbAdapterFactory

Since:
  3.1

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DbAdapter`
  `createAdapter(DataNodeDescriptor nodeDescriptor, DataSource dataSource)`
  Returns an instance of DbAdapter if the factory detects that it knows how to handle the database.

- ## Method Details

  - ### createAdapter

    DbAdapter createAdapter(DataNodeDescriptor nodeDescriptor, DataSource dataSource) throws Exception
    Returns an instance of DbAdapter if the factory detects that it knows how to handle the database.
    Throws:
      `Exception`