Package | Description |
---|---|
io.dropwizard.db | |
io.dropwizard.hibernate | |
io.dropwizard.jdbi3 |
Modifier and Type | Class and Description |
---|---|
class |
DataSourceFactory
A factory for pooled
ManagedDataSource s. |
Modifier and Type | Method and Description |
---|---|
PooledDataSourceFactory |
DatabaseConfiguration.getDataSourceFactory(T configuration) |
Modifier and Type | Method and Description |
---|---|
org.hibernate.SessionFactory |
SessionFactoryFactory.build(HibernateBundle<?> bundle,
Environment environment,
PooledDataSourceFactory dbConfig,
List<Class<?>> entities) |
org.hibernate.SessionFactory |
SessionFactoryFactory.build(HibernateBundle<?> bundle,
Environment environment,
PooledDataSourceFactory dbConfig,
List<Class<?>> entities,
String name) |
org.hibernate.SessionFactory |
SessionFactoryFactory.build(HibernateBundle<?> bundle,
Environment environment,
PooledDataSourceFactory dbConfig,
ManagedDataSource dataSource,
List<Class<?>> entities) |
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) ) |
org.jdbi.v3.core.Jdbi |
JdbiFactory.build(Environment environment,
PooledDataSourceFactory configuration,
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) ) |
Copyright © 2011. All rights reserved.