Package | Description |
---|---|
io.dropwizard.db | |
io.dropwizard.hibernate | |
io.dropwizard.jdbi3 | |
io.dropwizard.migrations |
Modifier and Type | Class and Description |
---|---|
class |
ManagedPooledDataSource
A
ManagedDataSource which is backed by a Tomcat pooled DataSource . |
Modifier and Type | Method and Description |
---|---|
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.
|
ManagedDataSource |
DataSourceFactory.build(com.codahale.metrics.MetricRegistry metricRegistry,
String name) |
Modifier and Type | Method and Description |
---|---|
org.hibernate.SessionFactory |
SessionFactoryFactory.build(HibernateBundle<?> bundle,
Environment environment,
PooledDataSourceFactory dbConfig,
ManagedDataSource dataSource,
List<Class<?>> entities) |
Constructor and Description |
---|
SessionFactoryManager(org.hibernate.SessionFactory factory,
ManagedDataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
org.jdbi.v3.core.Jdbi |
JdbiFactory.build(Environment environment,
PooledDataSourceFactory configuration,
ManagedDataSource dataSource,
String name)
Build a fully configured
Jdbi instance managed by the DropWizard lifecycle
with the configured health check; this method should not be overridden
(instead, override JdbiFactory.newInstance(ManagedDataSource) and
JdbiFactory.configure(Jdbi) ) |
protected org.jdbi.v3.core.Jdbi |
JdbiFactory.newInstance(ManagedDataSource dataSource)
This creates a vanilla
Jdbi instance based on the specified data source;
this can be overridden if required |
Constructor and Description |
---|
CloseableLiquibase(String changeLogFile,
liquibase.resource.ResourceAccessor resourceAccessor,
liquibase.database.DatabaseConnection conn,
ManagedDataSource dataSource) |
CloseableLiquibaseWithClassPathMigrationsFile(ManagedDataSource dataSource,
String file) |
CloseableLiquibaseWithFileSystemMigrationsFile(ManagedDataSource dataSource,
String file) |
Copyright © 2020. All rights reserved.