com.bendb.dropwizard.jooq.MultiDatabaseConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-jooq Show documentation
Show all versions of dropwizard-jooq Show documentation
Addon bundle for Dropwizard to support jOOQ for database access
package com.bendb.dropwizard.jooq;
import io.dropwizard.Configuration;
import io.dropwizard.db.DataSourceFactory;
import java.util.SortedMap;
public interface MultiDatabaseConfiguration {
/**
* Override to add multiple data source factories to the bundle, each distinguished by a unique name.
*
* @param configuration a Configuration
* @return a SortedMap containing DataSourceFactories, with the key being a String name.
*/
SortedMap getSecondaryDataSourceFactories(T configuration);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy