public abstract class io.dropwizard.migrations.MigrationsBundle<T extends io.dropwizard.Configuration> implements io.dropwizard.Bundle, io.dropwizard.db.DatabaseConfiguration<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.dropwizard.migrations.MigrationsBundle
super_class: java.lang.Object
{
private static final java.lang.String DEFAULT_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "db"
private static final java.lang.String DEFAULT_MIGRATIONS_FILE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "migrations.xml"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/migrations/MigrationsBundle<TT;>;
public final void initialize(io.dropwizard.setup.Bootstrap<?>);
descriptor: (Lio/dropwizard/setup/Bootstrap;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual io.dropwizard.setup.Bootstrap.getApplication:()Lio/dropwizard/Application;
invokevirtual io.dropwizard.Application.getConfigurationClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 1
new io.dropwizard.migrations.DbCommand
dup
aload 0
invokevirtual io.dropwizard.migrations.MigrationsBundle.name:()Ljava/lang/String;
aload 0
aload 2
aload 0
invokevirtual io.dropwizard.migrations.MigrationsBundle.getMigrationsFileName:()Ljava/lang/String;
invokespecial io.dropwizard.migrations.DbCommand.<init>:(Ljava/lang/String;Lio/dropwizard/db/DatabaseConfiguration;Ljava/lang/Class;Ljava/lang/String;)V
invokevirtual io.dropwizard.setup.Bootstrap.addCommand:(Lio/dropwizard/cli/Command;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/migrations/MigrationsBundle<TT;>;
0 3 1 bootstrap Lio/dropwizard/setup/Bootstrap<*>;
1 3 2 klass Ljava/lang/Class<TT;>;
Signature: (Lio/dropwizard/setup/Bootstrap<*>;)V
MethodParameters:
Name Flags
bootstrap
public java.lang.String getMigrationsFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "migrations.xml"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/migrations/MigrationsBundle<TT;>;
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "db"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/migrations/MigrationsBundle<TT;>;
public final void run(io.dropwizard.setup.Environment);
descriptor: (Lio/dropwizard/setup/Environment;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/migrations/MigrationsBundle<TT;>;
0 1 1 environment Lio/dropwizard/setup/Environment;
MethodParameters:
Name Flags
environment
}
Signature: <T:Lio/dropwizard/Configuration;>Ljava/lang/Object;Lio/dropwizard/Bundle;Lio/dropwizard/db/DatabaseConfiguration<TT;>;
SourceFile: "MigrationsBundle.java"