Package org.apache.cayenne.configuration.server

## Interface DbAdapterFactory

- All Known Implementing Classes:
    `DefaultDbAdapterFactory`

      public interface DbAdapterFactory

  Since:
    3.1

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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 Detail

    - #### 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`