public final class org.hibernate.MultiTenancyStrategy extends java.lang.Enum<org.hibernate.MultiTenancyStrategy>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.hibernate.MultiTenancyStrategy
super_class: java.lang.Enum
{
public static final org.hibernate.MultiTenancyStrategy DISCRIMINATOR;
descriptor: Lorg/hibernate/MultiTenancyStrategy;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.hibernate.MultiTenancyStrategy SCHEMA;
descriptor: Lorg/hibernate/MultiTenancyStrategy;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.hibernate.MultiTenancyStrategy DATABASE;
descriptor: Lorg/hibernate/MultiTenancyStrategy;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.hibernate.MultiTenancyStrategy NONE;
descriptor: Lorg/hibernate/MultiTenancyStrategy;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.hibernate.MultiTenancyStrategy[] ENUM$VALUES;
descriptor: [Lorg/hibernate/MultiTenancyStrategy;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.hibernate.MultiTenancyStrategy
dup
ldc "DISCRIMINATOR"
iconst_0
invokespecial org.hibernate.MultiTenancyStrategy.<init>:(Ljava/lang/String;I)V
1: putstatic org.hibernate.MultiTenancyStrategy.DISCRIMINATOR:Lorg/hibernate/MultiTenancyStrategy;
2: new org.hibernate.MultiTenancyStrategy
dup
ldc "SCHEMA"
iconst_1
invokespecial org.hibernate.MultiTenancyStrategy.<init>:(Ljava/lang/String;I)V
3: putstatic org.hibernate.MultiTenancyStrategy.SCHEMA:Lorg/hibernate/MultiTenancyStrategy;
4: new org.hibernate.MultiTenancyStrategy
dup
ldc "DATABASE"
iconst_2
invokespecial org.hibernate.MultiTenancyStrategy.<init>:(Ljava/lang/String;I)V
5: putstatic org.hibernate.MultiTenancyStrategy.DATABASE:Lorg/hibernate/MultiTenancyStrategy;
6: new org.hibernate.MultiTenancyStrategy
dup
ldc "NONE"
iconst_3
invokespecial org.hibernate.MultiTenancyStrategy.<init>:(Ljava/lang/String;I)V
7: putstatic org.hibernate.MultiTenancyStrategy.NONE:Lorg/hibernate/MultiTenancyStrategy;
iconst_4
anewarray org.hibernate.MultiTenancyStrategy
dup
iconst_0
getstatic org.hibernate.MultiTenancyStrategy.DISCRIMINATOR:Lorg/hibernate/MultiTenancyStrategy;
aastore
dup
iconst_1
getstatic org.hibernate.MultiTenancyStrategy.SCHEMA:Lorg/hibernate/MultiTenancyStrategy;
aastore
dup
iconst_2
getstatic org.hibernate.MultiTenancyStrategy.DATABASE:Lorg/hibernate/MultiTenancyStrategy;
aastore
dup
iconst_3
getstatic org.hibernate.MultiTenancyStrategy.NONE:Lorg/hibernate/MultiTenancyStrategy;
aastore
putstatic org.hibernate.MultiTenancyStrategy.ENUM$VALUES:[Lorg/hibernate/MultiTenancyStrategy;
8: ldc Lorg/hibernate/internal/CoreMessageLogger;
9: ldc Lorg/hibernate/MultiTenancyStrategy;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
10: invokestatic org.jboss.logging.Logger.getMessageLogger:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.hibernate.internal.CoreMessageLogger
putstatic org.hibernate.MultiTenancyStrategy.LOG:Lorg/hibernate/internal/CoreMessageLogger;
11: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/MultiTenancyStrategy;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public boolean requiresMultiTenantConnectionProvider();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.hibernate.MultiTenancyStrategy.DATABASE:Lorg/hibernate/MultiTenancyStrategy;
if_acmpeq 1
aload 0
getstatic org.hibernate.MultiTenancyStrategy.SCHEMA:Lorg/hibernate/MultiTenancyStrategy;
if_acmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/MultiTenancyStrategy;
public static org.hibernate.MultiTenancyStrategy determineMultiTenancyStrategy(java.util.Map);
descriptor: (Ljava/util/Map;)Lorg/hibernate/MultiTenancyStrategy;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
ldc "hibernate.multiTenancy"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: getstatic org.hibernate.MultiTenancyStrategy.NONE:Lorg/hibernate/MultiTenancyStrategy;
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
ldc Lorg/hibernate/MultiTenancyStrategy;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 5
4: aload 1
checkcast org.hibernate.MultiTenancyStrategy
areturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 2
start local 2 6: aload 2
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
invokestatic org.hibernate.MultiTenancyStrategy.valueOf:(Ljava/lang/String;)Lorg/hibernate/MultiTenancyStrategy;
7: areturn
8: StackMap locals: java.util.Map java.lang.Object java.lang.String
StackMap stack: java.lang.RuntimeException
pop
9: getstatic org.hibernate.MultiTenancyStrategy.LOG:Lorg/hibernate/internal/CoreMessageLogger;
new java.lang.StringBuilder
dup
ldc "Unknown multi tenancy strategy [ "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ], using MultiTenancyStrategy.NONE."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.warn:(Ljava/lang/Object;)V
10: getstatic org.hibernate.MultiTenancyStrategy.NONE:Lorg/hibernate/MultiTenancyStrategy;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 properties Ljava/util/Map;
1 11 1 strategy Ljava/lang/Object;
6 11 2 strategyName Ljava/lang/String;
Exception table:
from to target type
6 7 8 Class java.lang.RuntimeException
MethodParameters:
Name Flags
properties
public static org.hibernate.MultiTenancyStrategy[] values();
descriptor: ()[Lorg/hibernate/MultiTenancyStrategy;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.hibernate.MultiTenancyStrategy.ENUM$VALUES:[Lorg/hibernate/MultiTenancyStrategy;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.hibernate.MultiTenancyStrategy
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.hibernate.MultiTenancyStrategy valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/MultiTenancyStrategy;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/hibernate/MultiTenancyStrategy;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.hibernate.MultiTenancyStrategy
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lorg/hibernate/MultiTenancyStrategy;>;
SourceFile: "MultiTenancyStrategy.java"