public abstract class MorphiaBundle<T extends io.dropwizard.Configuration> extends BaseMorphiaBundle<T>
datastore, DEFAULT_NAME, morphia| Modifier | Constructor and Description |
|---|---|
protected |
MorphiaBundle(Class<?> entity,
Class<?>... entities)
Creates new
MorphiaBundle |
| Modifier and Type | Method and Description |
|---|---|
void |
run(T configuration,
io.dropwizard.setup.Environment environment) |
getDatastore, getMongo, getMorphia, getName, initializeprotected MorphiaBundle(Class<?> entity, Class<?>... entities)
MorphiaBundleentity - a valid entity classentities - additional entity classes to be mappedCopyright © 2017. All rights reserved.