public interface org.springframework.boot.ApplicationContextFactory
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: org.springframework.boot.ApplicationContextFactory
super_class: java.lang.Object
{
public static final org.springframework.boot.ApplicationContextFactory DEFAULT;
descriptor: Lorg/springframework/boot/ApplicationContextFactory;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int[] $SWITCH_TABLE$org$springframework$boot$WebApplicationType;
descriptor: [I
flags: (0x1019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic create()Lorg/springframework/boot/ApplicationContextFactory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/springframework/boot/WebApplicationType;)Lorg/springframework/context/ConfigurableApplicationContext;
org/springframework/boot/ApplicationContextFactory.lambda$0(Lorg/springframework/boot/WebApplicationType;)Lorg/springframework/context/ConfigurableApplicationContext; (6 itf)
(Lorg/springframework/boot/WebApplicationType;)Lorg/springframework/context/ConfigurableApplicationContext;
putstatic org.springframework.boot.ApplicationContextFactory.DEFAULT:Lorg/springframework/boot/ApplicationContextFactory;
invokestatic org.springframework.boot.ApplicationContextFactory.$SWITCH_TABLE$org$springframework$boot$WebApplicationType:()[I
putstatic org.springframework.boot.ApplicationContextFactory.$SWITCH_TABLE$org$springframework$boot$WebApplicationType:[I
1: return
LocalVariableTable:
Start End Slot Name Signature
public abstract org.springframework.context.ConfigurableApplicationContext create(org.springframework.boot.WebApplicationType);
descriptor: (Lorg/springframework/boot/WebApplicationType;)Lorg/springframework/context/ConfigurableApplicationContext;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
webApplicationType
public static org.springframework.boot.ApplicationContextFactory ofContextClass(java.lang.Class<? extends org.springframework.context.ConfigurableApplicationContext>);
descriptor: (Ljava/lang/Class;)Lorg/springframework/boot/ApplicationContextFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic get(Ljava/lang/Class;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/springframework/boot/ApplicationContextFactory.lambda$1(Ljava/lang/Class;)Lorg/springframework/context/ConfigurableApplicationContext; (6 itf)
()Lorg/springframework/context/ConfigurableApplicationContext;
invokestatic org.springframework.boot.ApplicationContextFactory.of:(Ljava/util/function/Supplier;)Lorg/springframework/boot/ApplicationContextFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 contextClass Ljava/lang/Class<+Lorg/springframework/context/ConfigurableApplicationContext;>;
Signature: (Ljava/lang/Class<+Lorg/springframework/context/ConfigurableApplicationContext;>;)Lorg/springframework/boot/ApplicationContextFactory;
MethodParameters:
Name Flags
contextClass
public static org.springframework.boot.ApplicationContextFactory of(java.util.function.Supplier<org.springframework.context.ConfigurableApplicationContext>);
descriptor: (Ljava/util/function/Supplier;)Lorg/springframework/boot/ApplicationContextFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic create(Ljava/util/function/Supplier;)Lorg/springframework/boot/ApplicationContextFactory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/springframework/boot/WebApplicationType;)Lorg/springframework/context/ConfigurableApplicationContext;
org/springframework/boot/ApplicationContextFactory.lambda$2(Ljava/util/function/Supplier;Lorg/springframework/boot/WebApplicationType;)Lorg/springframework/context/ConfigurableApplicationContext; (6 itf)
(Lorg/springframework/boot/WebApplicationType;)Lorg/springframework/context/ConfigurableApplicationContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 supplier Ljava/util/function/Supplier<Lorg/springframework/context/ConfigurableApplicationContext;>;
Signature: (Ljava/util/function/Supplier<Lorg/springframework/context/ConfigurableApplicationContext;>;)Lorg/springframework/boot/ApplicationContextFactory;
MethodParameters:
Name Flags
supplier
public static int[] $SWITCH_TABLE$org$springframework$boot$WebApplicationType();
descriptor: ()[I
flags: (0x1009) ACC_PUBLIC, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.springframework.boot.ApplicationContextFactory.$SWITCH_TABLE$org$springframework$boot$WebApplicationType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.springframework.boot.WebApplicationType.values:()[Lorg/springframework/boot/WebApplicationType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.springframework.boot.WebApplicationType.NONE:Lorg/springframework/boot/WebApplicationType;
invokevirtual org.springframework.boot.WebApplicationType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.springframework.boot.WebApplicationType.REACTIVE:Lorg/springframework/boot/WebApplicationType;
invokevirtual org.springframework.boot.WebApplicationType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.springframework.boot.WebApplicationType.SERVLET:Lorg/springframework/boot/WebApplicationType;
invokevirtual org.springframework.boot.WebApplicationType.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
private static org.springframework.context.ConfigurableApplicationContext lambda$0(org.springframework.boot.WebApplicationType);
descriptor: (Lorg/springframework/boot/WebApplicationType;)Lorg/springframework/context/ConfigurableApplicationContext;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic org.springframework.boot.ApplicationContextFactory.$SWITCH_TABLE$org$springframework$boot$WebApplicationType:()[I
aload 0
invokevirtual org.springframework.boot.WebApplicationType.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 1
3: 3
default: 5
}
1: StackMap locals:
StackMap stack:
new org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext
dup
invokespecial org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext.<init>:()V
2: areturn
3: StackMap locals:
StackMap stack:
new org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext
dup
invokespecial org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext.<init>:()V
4: areturn
5: StackMap locals:
StackMap stack:
new org.springframework.context.annotation.AnnotationConfigApplicationContext
dup
invokespecial org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>:()V
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 8: new java.lang.IllegalStateException
dup
ldc "Unable create a default ApplicationContext instance, you may need a custom ApplicationContextFactory"
9: aload 1
10: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 webApplicationType Lorg/springframework/boot/WebApplicationType;
8 11 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 2 7 Class java.lang.Exception
3 4 7 Class java.lang.Exception
5 6 7 Class java.lang.Exception
private static org.springframework.context.ConfigurableApplicationContext lambda$1(java.lang.Class);
descriptor: (Ljava/lang/Class;)Lorg/springframework/context/ConfigurableApplicationContext;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic org.springframework.beans.BeanUtils.instantiateClass:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.context.ConfigurableApplicationContext
areturn
LocalVariableTable:
Start End Slot Name Signature
private static org.springframework.context.ConfigurableApplicationContext lambda$2(java.util.function.Supplier, org.springframework.boot.WebApplicationType);
descriptor: (Ljava/util/function/Supplier;Lorg/springframework/boot/WebApplicationType;)Lorg/springframework/context/ConfigurableApplicationContext;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast org.springframework.context.ConfigurableApplicationContext
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 webApplicationType Lorg/springframework/boot/WebApplicationType;
}
SourceFile: "ApplicationContextFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
java.lang.FunctionalInterface()