class org.springframework.boot.web.servlet.context.WebServerGracefulShutdownLifecycle implements org.springframework.context.SmartLifecycle
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.web.servlet.context.WebServerGracefulShutdownLifecycle
super_class: java.lang.Object
{
private final org.springframework.boot.web.server.WebServer webServer;
descriptor: Lorg/springframework/boot/web/server/WebServer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean running;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
void <init>(org.springframework.boot.web.server.WebServer);
descriptor: (Lorg/springframework/boot/web/server/WebServer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.web.servlet.context.WebServerGracefulShutdownLifecycle.webServer:Lorg/springframework/boot/web/server/WebServer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/web/servlet/context/WebServerGracefulShutdownLifecycle;
0 3 1 webServer Lorg/springframework/boot/web/server/WebServer;
MethodParameters:
Name Flags
webServer
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.springframework.boot.web.servlet.context.WebServerGracefulShutdownLifecycle.running:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/web/servlet/context/WebServerGracefulShutdownLifecycle;
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Stop must not be invoked directly"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/web/servlet/context/WebServerGracefulShutdownLifecycle;
public void stop(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield org.springframework.boot.web.servlet.context.WebServerGracefulShutdownLifecycle.running:Z
1: aload 0
getfield org.springframework.boot.web.servlet.context.WebServerGracefulShutdownLifecycle.webServer:Lorg/springframework/boot/web/server/WebServer;
aload 1
invokedynamic shutdownComplete(Ljava/lang/Runnable;)Lorg/springframework/boot/web/server/GracefulShutdownCallback;
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/web/server/GracefulShutdownResult;)V
org/springframework/boot/web/servlet/context/WebServerGracefulShutdownLifecycle.lambda$0(Ljava/lang/Runnable;Lorg/springframework/boot/web/server/GracefulShutdownResult;)V (6)
(Lorg/springframework/boot/web/server/GracefulShutdownResult;)V
invokeinterface org.springframework.boot.web.server.WebServer.shutDownGracefully:(Lorg/springframework/boot/web/server/GracefulShutdownCallback;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/web/servlet/context/WebServerGracefulShutdownLifecycle;
0 3 1 callback Ljava/lang/Runnable;
MethodParameters:
Name Flags
callback
public boolean isRunning();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.web.servlet.context.WebServerGracefulShutdownLifecycle.running:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/web/servlet/context/WebServerGracefulShutdownLifecycle;
private static void lambda$0(java.lang.Runnable, org.springframework.boot.web.server.GracefulShutdownResult);
descriptor: (Ljava/lang/Runnable;Lorg/springframework/boot/web/server/GracefulShutdownResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface java.lang.Runnable.run:()V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 result Lorg/springframework/boot/web/server/GracefulShutdownResult;
}
SourceFile: "WebServerGracefulShutdownLifecycle.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles