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

Copyright © 2001–2017 Apache Cayenne. All rights reserved.