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 class
ManagedPooledDataSource
AManagedDataSource
which is backed by a Tomcat pooledDataSource
.Methods in io.dropwizard.db that return ManagedDataSource Modifier and Type Method Description ManagedDataSource
DataSourceFactory. build(com.codahale.metrics.MetricRegistry metricRegistry, String name)
ManagedDataSource
PooledDataSourceFactory. 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 that return ManagedDataSource Modifier and Type Method Description ManagedDataSource
SessionFactoryManager. getDataSource()
Methods in io.dropwizard.hibernate with parameters of type ManagedDataSource Modifier and Type Method Description org.hibernate.SessionFactory
SessionFactoryFactory. 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.Jdbi
JdbiFactory. build(Environment environment, PooledDataSourceFactory configuration, ManagedDataSource dataSource, String name)
Build a fully configuredJdbi
instance 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.Jdbi
JdbiFactory. newInstance(ManagedDataSource dataSource)
This creates a vanillaJdbi
instance 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)
-