public abstract class JooqBundle<C extends io.dropwizard.Configuration> extends Object implements io.dropwizard.ConfiguredBundle<C>, JooqConfiguration<C>
| Constructor and Description |
|---|
JooqBundle() |
| Modifier and Type | Method and Description |
|---|---|
org.jooq.Configuration |
getConfiguration() |
Map<String,org.jooq.Configuration> |
getConfigurationMap() |
JooqFactory |
getJooqFactory(C configuration)
Override this method to use a non-default jOOQ configuration.
|
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
String |
primaryDataSourceName()
Override this method to change the default data source name.
|
void |
run(C configuration,
io.dropwizard.setup.Environment environment) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSecondaryDataSourceFactoriespublic void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>public String primaryDataSourceName()
public JooqFactory getJooqFactory(C configuration)
getJooqFactory in interface JooqConfiguration<C extends io.dropwizard.Configuration>public org.jooq.Configuration getConfiguration()
Copyright © 2016. All rights reserved.