public class io.dropwizard.hibernate.SessionFactoryManager implements io.dropwizard.lifecycle.Managed
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.hibernate.SessionFactoryManager
super_class: java.lang.Object
{
private final org.hibernate.SessionFactory factory;
descriptor: Lorg/hibernate/SessionFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.db.ManagedDataSource dataSource;
descriptor: Lio/dropwizard/db/ManagedDataSource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.hibernate.SessionFactory, io.dropwizard.db.ManagedDataSource);
descriptor: (Lorg/hibernate/SessionFactory;Lio/dropwizard/db/ManagedDataSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.hibernate.SessionFactoryManager.factory:Lorg/hibernate/SessionFactory;
2: aload 0
aload 2
putfield io.dropwizard.hibernate.SessionFactoryManager.dataSource:Lio/dropwizard/db/ManagedDataSource;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/hibernate/SessionFactoryManager;
0 4 1 factory Lorg/hibernate/SessionFactory;
0 4 2 dataSource Lio/dropwizard/db/ManagedDataSource;
MethodParameters:
Name Flags
factory
dataSource
io.dropwizard.db.ManagedDataSource getDataSource();
descriptor: ()Lio/dropwizard/db/ManagedDataSource;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.hibernate.SessionFactoryManager.dataSource:Lio/dropwizard/db/ManagedDataSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/hibernate/SessionFactoryManager;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.hibernate.SessionFactoryManager.dataSource:Lio/dropwizard/db/ManagedDataSource;
invokeinterface io.dropwizard.db.ManagedDataSource.start:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/hibernate/SessionFactoryManager;
Exceptions:
throws java.lang.Exception
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.hibernate.SessionFactoryManager.factory:Lorg/hibernate/SessionFactory;
invokeinterface org.hibernate.SessionFactory.close:()V
1: aload 0
getfield io.dropwizard.hibernate.SessionFactoryManager.dataSource:Lio/dropwizard/db/ManagedDataSource;
invokeinterface io.dropwizard.db.ManagedDataSource.stop:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/hibernate/SessionFactoryManager;
Exceptions:
throws java.lang.Exception
}
SourceFile: "SessionFactoryManager.java"