public class HibernateBundle<C extends io.dropwizard.Configuration>
extends java.lang.Object
implements io.dropwizard.ConfiguredBundle<C>
Modifier and Type | Class and Description |
---|---|
static class |
HibernateBundle.Builder<T extends io.dropwizard.Configuration> |
static interface |
HibernateBundle.FinalBuilder<T extends io.dropwizard.Configuration> |
static interface |
HibernateBundle.InitialBuilder |
static interface |
HibernateBundle.ScanPackageBuilder<T extends io.dropwizard.Configuration> |
Modifier and Type | Method and Description |
---|---|
static HibernateBundle.InitialBuilder |
builder() |
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
run(C configuration,
io.dropwizard.setup.Environment environment) |
org.hibernate.SessionFactory |
sessionFactory() |
public static HibernateBundle.InitialBuilder builder()
public org.hibernate.SessionFactory sessionFactory()
public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize
in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>