public class org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer implements org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer
super_class: java.lang.Object
{
private static final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.springframework.boot.devtools.livereload.LiveReloadServer server;
descriptor: Lorg/springframework/boot/devtools/livereload/LiveReloadServer;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/boot/devtools/autoconfigure/OptionalLiveReloadServer;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.logger:Lorg/apache/commons/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.springframework.boot.devtools.livereload.LiveReloadServer);
descriptor: (Lorg/springframework/boot/devtools/livereload/LiveReloadServer;)V
flags: (0x0001) ACC_PUBLIC
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.devtools.autoconfigure.OptionalLiveReloadServer.server:Lorg/springframework/boot/devtools/livereload/LiveReloadServer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/devtools/autoconfigure/OptionalLiveReloadServer;
0 3 1 server Lorg/springframework/boot/devtools/livereload/LiveReloadServer;
MethodParameters:
Name Flags
server
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.startServer:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/autoconfigure/OptionalLiveReloadServer;
Exceptions:
throws java.lang.Exception
void startServer();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.server:Lorg/springframework/boot/devtools/livereload/LiveReloadServer;
ifnull 9
1: aload 0
getfield org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.server:Lorg/springframework/boot/devtools/livereload/LiveReloadServer;
invokevirtual org.springframework.boot.devtools.livereload.LiveReloadServer.isStarted:()Z
ifne 3
2: aload 0
getfield org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.server:Lorg/springframework/boot/devtools/livereload/LiveReloadServer;
invokevirtual org.springframework.boot.devtools.livereload.LiveReloadServer.start:()I
pop
3: StackMap locals:
StackMap stack:
getstatic org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.logger:Lorg/apache/commons/logging/Log;
ldc "LiveReload server is running on port %s"
aload 0
getfield org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.server:Lorg/springframework/boot/devtools/livereload/LiveReloadServer;
invokevirtual org.springframework.boot.devtools.livereload.LiveReloadServer.getPort:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic org.springframework.core.log.LogMessage.format:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/core/log/LogMessage;
invokeinterface org.apache.commons.logging.Log.info:(Ljava/lang/Object;)V
4: goto 9
5: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 6: getstatic org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.logger:Lorg/apache/commons/logging/Log;
ldc "Unable to start LiveReload server"
invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;)V
7: getstatic org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.logger:Lorg/apache/commons/logging/Log;
ldc "Live reload start error"
aload 1
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
8: aload 0
aconst_null
putfield org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.server:Lorg/springframework/boot/devtools/livereload/LiveReloadServer;
end local 1 9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/boot/devtools/autoconfigure/OptionalLiveReloadServer;
6 9 1 ex Ljava/lang/Exception;
Exception table:
from to target type
1 4 5 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
public void triggerReload();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.server:Lorg/springframework/boot/devtools/livereload/LiveReloadServer;
ifnull 2
1: aload 0
getfield org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer.server:Lorg/springframework/boot/devtools/livereload/LiveReloadServer;
invokevirtual org.springframework.boot.devtools.livereload.LiveReloadServer.triggerReload:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/devtools/autoconfigure/OptionalLiveReloadServer;
}
SourceFile: "OptionalLiveReloadServer.java"