public abstract class CassandraBundle<C extends io.dropwizard.Configuration> extends Object implements io.dropwizard.ConfiguredBundle<C>
| Constructor and Description |
|---|
CassandraBundle() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract CassandraFactory |
cassandraConfiguration(C configuration) |
com.datastax.driver.core.Cluster |
getCluster() |
SessionFactory |
getSessionFactory() |
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
run(C configuration,
io.dropwizard.setup.Environment environment) |
protected abstract CassandraFactory cassandraConfiguration(C configuration)
public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>public com.datastax.driver.core.Cluster getCluster()
public SessionFactory getSessionFactory()
Copyright © 2014 Stuart Gunter. All rights reserved.