Interface DatabaseConfigurationProvider<C extends io.dropwizard.Configuration>

  • Type Parameters:
    C - the type of the applications configuration class
    All Superinterfaces:
    java.util.function.Function<C,​io.dropwizard.db.DataSourceFactory>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface DatabaseConfigurationProvider<C extends io.dropwizard.Configuration>
    extends java.util.function.Function<C,​io.dropwizard.db.DataSourceFactory>
    Provides the configuration of a database through a DataSourceFactory, e.g. MyAppConfig::getDatabase
    • Method Summary

      • Methods inherited from interface java.util.function.Function

        andThen, apply, compose