public abstract class org.eclipse.jetty.util.component.AbstractLifeCycle implements org.eclipse.jetty.util.component.LifeCycle
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.jetty.util.component.AbstractLifeCycle
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String STOPPED;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String FAILED;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String STARTING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String STARTED;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String STOPPING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final java.util.List<java.util.EventListener> _eventListener;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/EventListener;>;
private final org.eclipse.jetty.util.thread.AutoLock _lock;
descriptor: Lorg/eclipse/jetty/util/thread/AutoLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile org.eclipse.jetty.util.component.AbstractLifeCycle$State _state;
descriptor: Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$util$component$AbstractLifeCycle$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
1: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
putstatic org.eclipse.jetty.util.component.AbstractLifeCycle.STOPPED:Ljava/lang/String;
2: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.FAILED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
putstatic org.eclipse.jetty.util.component.AbstractLifeCycle.FAILED:Ljava/lang/String;
3: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
putstatic org.eclipse.jetty.util.component.AbstractLifeCycle.STARTING:Ljava/lang/String;
4: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
putstatic org.eclipse.jetty.util.component.AbstractLifeCycle.STARTED:Ljava/lang/String;
5: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
putstatic org.eclipse.jetty.util.component.AbstractLifeCycle.STOPPING:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
2: aload 0
new org.eclipse.jetty.util.thread.AutoLock
dup
invokespecial org.eclipse.jetty.util.thread.AutoLock.<init>:()V
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
3: aload 0
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
protected void doStart();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
Exceptions:
throws java.lang.Exception
protected void doStop();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
Exceptions:
throws java.lang.Exception
public final void start();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: invokestatic org.eclipse.jetty.util.component.AbstractLifeCycle.$SWITCH_TABLE$org$eclipse$jetty$util$component$AbstractLifeCycle$State:()[I
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.ordinal:()I
iaload
tableswitch { // 2 - 4
2: 5
3: 3
4: 5
default: 6
}
3: StackMap locals: java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack:
aload 3
ifnull 4
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
4: StackMap locals:
StackMap stack:
return
5: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.getState:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setStarting:()V
7: aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.doStart:()V
8: aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setStarted:()V
9: goto 20
10: StackMap locals:
StackMap stack: org.eclipse.jetty.util.component.AbstractLifeCycle$StopException
astore 4
start local 4 11: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 13
12: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
ldc "Unable to stop"
aload 4
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
13: StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle$StopException
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setStopping:()V
14: aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.doStop:()V
15: aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setStopped:()V
end local 4 16: goto 20
17: StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack: java.lang.Throwable
astore 4
start local 4 18: aload 0
aload 4
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed:(Ljava/lang/Throwable;)V
19: aload 4
athrow
end local 4 20: StackMap locals:
StackMap stack:
aload 3
ifnull 26
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
goto 26
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 1
aload 3
ifnull 22
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
22: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 2
aload 1
ifnonnull 24
aload 2
astore 1
goto 25
StackMap locals:
StackMap stack:
24: aload 1
aload 2
if_acmpeq 25
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
25: aload 1
athrow
26: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
2 22 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
11 16 4 e Lorg/eclipse/jetty/util/component/AbstractLifeCycle$StopException;
18 20 4 e Ljava/lang/Throwable;
Exception table:
from to target type
6 9 10 Class org.eclipse.jetty.util.component.AbstractLifeCycle$StopException
2 3 17 Class java.lang.Throwable
5 16 17 Class java.lang.Throwable
2 3 21 any
5 20 21 any
1 4 23 any
5 23 23 any
Exceptions:
throws java.lang.Exception
public final void stop();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: invokestatic org.eclipse.jetty.util.component.AbstractLifeCycle.$SWITCH_TABLE$org$eclipse$jetty$util$component$AbstractLifeCycle$State:()[I
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 3
2: 5
3: 6
4: 5
default: 6
}
3: StackMap locals: java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack:
aload 3
ifnull 4
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
4: StackMap locals:
StackMap stack:
return
5: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.getState:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setStopping:()V
7: aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.doStop:()V
8: aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setStopped:()V
9: goto 13
10: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 11: aload 0
aload 4
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed:(Ljava/lang/Throwable;)V
12: aload 4
athrow
end local 4 13: StackMap locals:
StackMap stack:
aload 3
ifnull 19
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 1
aload 3
ifnull 15
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
15: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 2
aload 1
ifnonnull 17
aload 2
astore 1
goto 18
StackMap locals:
StackMap stack:
17: aload 1
aload 2
if_acmpeq 18
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 1
athrow
19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
2 15 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
11 13 4 e Ljava/lang/Throwable;
Exception table:
from to target type
2 3 10 Class java.lang.Throwable
5 9 10 Class java.lang.Throwable
2 3 14 any
5 13 14 any
1 4 16 any
5 16 16 any
Exceptions:
throws java.lang.Exception
public boolean isRunning();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
astore 1
start local 1 1: invokestatic org.eclipse.jetty.util.component.AbstractLifeCycle.$SWITCH_TABLE$org$eclipse$jetty$util$component$AbstractLifeCycle$State:()[I
aload 1
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 2
3: 2
default: 3
}
2: StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle$State
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
1 4 1 state Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
public boolean isStarted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
public boolean isStarting();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
public boolean isStopping();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
public boolean isStopped();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
public boolean isFailed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.FAILED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
public java.util.List<java.util.EventListener> getEventListeners();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
Signature: ()Ljava/util/List<Ljava/util/EventListener;>;
public void setEventListeners(java.util.Collection<java.util.EventListener>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.EventListener
astore 2
start local 2 2: aload 1
aload 2
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
aload 2
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.removeEventListener:(Ljava/util/EventListener;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals:
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.EventListener
astore 2
start local 2 7: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
aload 2
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 9
8: aload 0
aload 2
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.addEventListener:(Ljava/util/EventListener;)Z
pop
end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
0 11 1 eventListeners Ljava/util/Collection<Ljava/util/EventListener;>;
2 4 2 l Ljava/util/EventListener;
7 9 2 l Ljava/util/EventListener;
Signature: (Ljava/util/Collection<Ljava/util/EventListener;>;)V
MethodParameters:
Name Flags
eventListeners
public boolean addEventListener(java.util.EventListener);
descriptor: (Ljava/util/EventListener;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
0 4 1 listener Ljava/util/EventListener;
MethodParameters:
Name Flags
listener
public boolean removeEventListener(java.util.EventListener);
descriptor: (Ljava/util/EventListener;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
0 1 1 listener Ljava/util/EventListener;
MethodParameters:
Name Flags
listener
public java.lang.String getState();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "Lifecycle State for this instance", readonly = true)
public static java.lang.String getState(org.eclipse.jetty.util.component.LifeCycle);
descriptor: (Lorg/eclipse/jetty/util/component/LifeCycle;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.eclipse.jetty.util.component.AbstractLifeCycle
ifeq 2
1: aload 0
checkcast org.eclipse.jetty.util.component.AbstractLifeCycle
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle.isStarting:()Z
ifeq 4
3: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle.isStarted:()Z
ifeq 6
5: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle.isStopping:()Z
ifeq 8
7: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle.isStopped:()Z
ifeq 10
9: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.FAILED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 lc Lorg/eclipse/jetty/util/component/LifeCycle;
MethodParameters:
Name Flags
lc
private void setStarted();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
if_acmpne 9
1: aload 0
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
2: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
ldc "STARTED @{}ms {}"
invokestatic org.eclipse.jetty.util.Uptime.getUptime:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 8
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle top java.util.Iterator
StackMap stack:
5: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.EventListener
astore 1
start local 1 6: aload 1
instanceof org.eclipse.jetty.util.component.LifeCycle$Listener
ifeq 8
7: aload 1
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle$Listener.lifeCycleStarted:(Lorg/eclipse/jetty/util/component/LifeCycle;)V
end local 1 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
6 8 1 listener Ljava/util/EventListener;
private void setStarting();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
ldc "STARTING {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
3: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.EventListener
astore 1
start local 1 5: aload 1
instanceof org.eclipse.jetty.util.component.LifeCycle$Listener
ifeq 7
6: aload 1
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle$Listener.lifeCycleStarting:(Lorg/eclipse/jetty/util/component/LifeCycle;)V
end local 1 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
5 7 1 listener Ljava/util/EventListener;
private void setStopping();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
ldc "STOPPING {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
3: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.EventListener
astore 1
start local 1 5: aload 1
instanceof org.eclipse.jetty.util.component.LifeCycle$Listener
ifeq 7
6: aload 1
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle$Listener.lifeCycleStopping:(Lorg/eclipse/jetty/util/component/LifeCycle;)V
end local 1 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
5 7 1 listener Ljava/util/EventListener;
private void setStopped();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
if_acmpne 9
1: aload 0
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
2: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
ldc "STOPPED {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 8
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle top java.util.Iterator
StackMap stack:
5: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.EventListener
astore 1
start local 1 6: aload 1
instanceof org.eclipse.jetty.util.component.LifeCycle$Listener
ifeq 8
7: aload 1
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle$Listener.lifeCycleStopped:(Lorg/eclipse/jetty/util/component/LifeCycle;)V
end local 1 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
6 8 1 listener Ljava/util/EventListener;
private void setFailed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.FAILED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
1: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/slf4j/Logger;
ldc "FAILED {}: {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 1
aastore
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._eventListener:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle java.lang.Throwable top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.EventListener
astore 2
start local 2 5: aload 2
instanceof org.eclipse.jetty.util.component.LifeCycle$Listener
ifeq 7
6: aload 2
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
aload 0
aload 1
invokeinterface org.eclipse.jetty.util.component.LifeCycle$Listener.lifeCycleFailure:(Lorg/eclipse/jetty/util/component/LifeCycle;Ljava/lang/Throwable;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
0 9 1 th Ljava/lang/Throwable;
5 7 2 listener Ljava/util/EventListener;
MethodParameters:
Name Flags
th
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic org.eclipse.jetty.util.StringUtil.isBlank:(Ljava/lang/String;)Z
ifeq 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
ifnull 3
2: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
ldc "%s@%x{%s}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.getState:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
1 4 1 name Ljava/lang/String;
static int[] $SWITCH_TABLE$org$eclipse$jetty$util$component$AbstractLifeCycle$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.$SWITCH_TABLE$org$eclipse$jetty$util$component$AbstractLifeCycle$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.values:()[Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.FAILED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.ordinal:()I
iconst_5
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.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.eclipse.jetty.util.component.AbstractLifeCycle$State.STARTING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPED:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.eclipse.jetty.util.component.AbstractLifeCycle$State.STOPPING:Lorg/eclipse/jetty/util/component/AbstractLifeCycle$State;
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle$State.ordinal:()I
iconst_4
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic org.eclipse.jetty.util.component.AbstractLifeCycle.$SWITCH_TABLE$org$eclipse$jetty$util$component$AbstractLifeCycle$State:[I
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
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "AbstractLifeCycle.java"
NestMembers:
org.eclipse.jetty.util.component.AbstractLifeCycle$AbstractLifeCycleListener org.eclipse.jetty.util.component.AbstractLifeCycle$State org.eclipse.jetty.util.component.AbstractLifeCycle$StopException
InnerClasses:
public abstract AbstractLifeCycleListener = org.eclipse.jetty.util.component.AbstractLifeCycle$AbstractLifeCycleListener of org.eclipse.jetty.util.component.AbstractLifeCycle
final State = org.eclipse.jetty.util.component.AbstractLifeCycle$State of org.eclipse.jetty.util.component.AbstractLifeCycle
public StopException = org.eclipse.jetty.util.component.AbstractLifeCycle$StopException of org.eclipse.jetty.util.component.AbstractLifeCycle
public abstract Listener = org.eclipse.jetty.util.component.LifeCycle$Listener of org.eclipse.jetty.util.component.LifeCycle
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedObject(value = "Abstract Implementation of LifeCycle")