Package io.dropwizard.migrations
Class MigrationsBundle<T extends Configuration>
java.lang.Object
io.dropwizard.migrations.MigrationsBundle<T>
- All Implemented Interfaces:
ConfiguredBundle<T>,DatabaseConfiguration<T>
public abstract class MigrationsBundle<T extends Configuration>
extends Object
implements ConfiguredBundle<T>, DatabaseConfiguration<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf overridden, enters a newScope, in which the provided objects are available.final voidinitialize(Bootstrap<?> bootstrap) name()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.dropwizard.core.ConfiguredBundle
runMethods inherited from interface io.dropwizard.db.DatabaseConfiguration
getDataSourceFactory
-
Constructor Details
-
MigrationsBundle
public MigrationsBundle()
-
-
Method Details
-
initialize
- Specified by:
initializein interfaceConfiguredBundle<T extends Configuration>
-
getMigrationsFileName
-
name
-
getScopedObjects
If overridden, enters a newScope, in which the provided objects are available.- Returns:
- the objects introduced in the created child
Scope
-