Uses of Interface
io.dropwizard.db.ManagedDataSource
-
Packages that use ManagedDataSource Package Description io.dropwizard.db io.dropwizard.hibernate io.dropwizard.jdbi3 io.dropwizard.migrations -
-
Uses of ManagedDataSource in io.dropwizard.db
Classes in io.dropwizard.db that implement ManagedDataSource Modifier and Type Class Description classManagedPooledDataSourceAManagedDataSourcewhich is backed by a Tomcat pooledDataSource.Methods in io.dropwizard.db that return ManagedDataSource Modifier and Type Method Description ManagedDataSourceDataSourceFactory. build(com.codahale.metrics.MetricRegistry metricRegistry, String name)ManagedDataSourcePooledDataSourceFactory. build(com.codahale.metrics.MetricRegistry metricRegistry, String name)Builds a new JDBC data source backed by the connection pool and managed by Dropwizard. -
Uses of ManagedDataSource in io.dropwizard.hibernate
Methods in io.dropwizard.hibernate with parameters of type ManagedDataSource Modifier and Type Method Description org.hibernate.SessionFactorySessionFactoryFactory. build(HibernateBundle<?> bundle, Environment environment, PooledDataSourceFactory dbConfig, ManagedDataSource dataSource, List<Class<?>> entities)Constructors in io.dropwizard.hibernate with parameters of type ManagedDataSource Constructor Description SessionFactoryManager(org.hibernate.SessionFactory factory, ManagedDataSource dataSource) -
Uses of ManagedDataSource in io.dropwizard.jdbi3
Methods in io.dropwizard.jdbi3 with parameters of type ManagedDataSource Modifier and Type Method Description org.jdbi.v3.core.JdbiJdbiFactory. build(Environment environment, PooledDataSourceFactory configuration, ManagedDataSource dataSource, String name)Build a fully configuredJdbiinstance managed by the DropWizard lifecycle with the configured health check; this method should not be overridden (instead, overrideJdbiFactory.newInstance(ManagedDataSource)andJdbiFactory.configure(Jdbi))protected org.jdbi.v3.core.JdbiJdbiFactory. newInstance(ManagedDataSource dataSource)This creates a vanillaJdbiinstance based on the specified data source; this can be overridden if required -
Uses of ManagedDataSource in io.dropwizard.migrations
Constructors in io.dropwizard.migrations with parameters of type ManagedDataSource Constructor Description CloseableLiquibase(String changeLogFile, liquibase.resource.ResourceAccessor resourceAccessor, liquibase.database.DatabaseConnection conn, ManagedDataSource dataSource)CloseableLiquibaseWithClassPathMigrationsFile(ManagedDataSource dataSource, String file)CloseableLiquibaseWithFileSystemMigrationsFile(ManagedDataSource dataSource, String file)
-