public abstract class org.apache.catalina.util.LifecycleBase implements org.apache.catalina.Lifecycle
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.catalina.util.LifecycleBase
super_class: java.lang.Object
{
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.List<org.apache.catalina.LifecycleListener> lifecycleListeners;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/catalina/LifecycleListener;>;
private volatile org.apache.catalina.LifecycleState state;
descriptor: Lorg/apache/catalina/LifecycleState;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private boolean throwOnFailure;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/util/LifecycleBase;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
1: ldc Lorg/apache/catalina/util/LifecycleBase;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
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.apache.catalina.util.LifecycleBase.lifecycleListeners:Ljava/util/List;
2: aload 0
getstatic org.apache.catalina.LifecycleState.NEW:Lorg/apache/catalina/LifecycleState;
putfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
3: aload 0
iconst_1
putfield org.apache.catalina.util.LifecycleBase.throwOnFailure:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/util/LifecycleBase;
public boolean getThrowOnFailure();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.LifecycleBase.throwOnFailure:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/LifecycleBase;
public void setThrowOnFailure(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.util.LifecycleBase.throwOnFailure:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/util/LifecycleBase;
0 2 1 throwOnFailure Z
MethodParameters:
Name Flags
throwOnFailure
public void addLifecycleListener(org.apache.catalina.LifecycleListener);
descriptor: (Lorg/apache/catalina/LifecycleListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.util.LifecycleBase.lifecycleListeners:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/util/LifecycleBase;
0 2 1 listener Lorg/apache/catalina/LifecycleListener;
MethodParameters:
Name Flags
listener
public org.apache.catalina.LifecycleListener[] findLifecycleListeners();
descriptor: ()[Lorg/apache/catalina/LifecycleListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.LifecycleBase.lifecycleListeners:Ljava/util/List;
iconst_0
anewarray org.apache.catalina.LifecycleListener
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.catalina.LifecycleListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/LifecycleBase;
public void removeLifecycleListener(org.apache.catalina.LifecycleListener);
descriptor: (Lorg/apache/catalina/LifecycleListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.util.LifecycleBase.lifecycleListeners:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/util/LifecycleBase;
0 2 1 listener Lorg/apache/catalina/LifecycleListener;
MethodParameters:
Name Flags
listener
protected void fireLifecycleEvent(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.catalina.LifecycleEvent
dup
aload 0
aload 1
aload 2
invokespecial org.apache.catalina.LifecycleEvent.<init>:(Lorg/apache/catalina/Lifecycle;Ljava/lang/String;Ljava/lang/Object;)V
astore 3
start local 3 1: aload 0
getfield org.apache.catalina.util.LifecycleBase.lifecycleListeners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: org.apache.catalina.util.LifecycleBase java.lang.String java.lang.Object org.apache.catalina.LifecycleEvent top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.LifecycleListener
astore 4
start local 4 3: aload 4
aload 3
invokeinterface org.apache.catalina.LifecycleListener.lifecycleEvent:(Lorg/apache/catalina/LifecycleEvent;)V
end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/util/LifecycleBase;
0 6 1 type Ljava/lang/String;
0 6 2 data Ljava/lang/Object;
1 6 3 event Lorg/apache/catalina/LifecycleEvent;
3 4 4 listener Lorg/apache/catalina/LifecycleListener;
MethodParameters:
Name Flags
type
data
public final synchronized void init();
descriptor: ()V
flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.NEW:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 2
1: aload 0
ldc "before_init"
invokevirtual org.apache.catalina.util.LifecycleBase.invalidTransition:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.LifecycleState.INITIALIZING:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
3: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.initInternal:()V
4: aload 0
getstatic org.apache.catalina.LifecycleState.INITIALIZED:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 1
start local 1 7: aload 0
aload 1
ldc "lifecycleBase.initFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.catalina.util.LifecycleBase.handleSubClassException:(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
end local 1 8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/util/LifecycleBase;
7 8 1 t Ljava/lang/Throwable;
Exception table:
from to target type
2 5 6 Class java.lang.Throwable
Exceptions:
throws org.apache.catalina.LifecycleException
protected abstract void initInternal();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws org.apache.catalina.LifecycleException
public final synchronized void start();
descriptor: ()V
flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic org.apache.catalina.LifecycleState.STARTING_PREP:Lorg/apache/catalina/LifecycleState;
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 2
getstatic org.apache.catalina.LifecycleState.STARTING:Lorg/apache/catalina/LifecycleState;
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 2
1: getstatic org.apache.catalina.LifecycleState.STARTED:Lorg/apache/catalina/LifecycleState;
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifeq 9
2: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 6
3: new org.apache.catalina.LifecycleException
dup
invokespecial org.apache.catalina.LifecycleException.<init>:()V
astore 1
start local 1 4: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleBase.alreadyStarted"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 5: goto 8
StackMap locals:
StackMap stack:
6: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 8
7: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleBase.alreadyStarted"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.NEW:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.init:()V
11: goto 18
StackMap locals:
StackMap stack:
12: aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.FAILED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.stop:()V
14: goto 18
StackMap locals:
StackMap stack:
15: aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.INITIALIZED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 18
16: aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STOPPED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 18
17: aload 0
ldc "before_start"
invokevirtual org.apache.catalina.util.LifecycleBase.invalidTransition:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.LifecycleState.STARTING_PREP:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
19: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.startInternal:()V
20: aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.FAILED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifeq 23
21: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.stop:()V
22: goto 30
StackMap locals:
StackMap stack:
23: aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STARTING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 26
24: aload 0
ldc "after_start"
invokevirtual org.apache.catalina.util.LifecycleBase.invalidTransition:(Ljava/lang/String;)V
25: goto 30
26: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.LifecycleState.STARTED:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
27: goto 30
StackMap locals:
StackMap stack: java.lang.Throwable
28: astore 1
start local 1 29: aload 0
aload 1
ldc "lifecycleBase.startFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.catalina.util.LifecycleBase.handleSubClassException:(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
end local 1 30: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/catalina/util/LifecycleBase;
4 5 1 e Ljava/lang/Exception;
29 30 1 t Ljava/lang/Throwable;
Exception table:
from to target type
18 27 28 Class java.lang.Throwable
Exceptions:
throws org.apache.catalina.LifecycleException
protected abstract void startInternal();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws org.apache.catalina.LifecycleException
public final synchronized void stop();
descriptor: ()V
flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=7, locals=3, args_size=1
start local 0 0: getstatic org.apache.catalina.LifecycleState.STOPPING_PREP:Lorg/apache/catalina/LifecycleState;
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 2
getstatic org.apache.catalina.LifecycleState.STOPPING:Lorg/apache/catalina/LifecycleState;
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 2
1: getstatic org.apache.catalina.LifecycleState.STOPPED:Lorg/apache/catalina/LifecycleState;
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifeq 9
2: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 6
3: new org.apache.catalina.LifecycleException
dup
invokespecial org.apache.catalina.LifecycleException.<init>:()V
astore 1
start local 1 4: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleBase.alreadyStopped"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 5: goto 8
StackMap locals:
StackMap stack:
6: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 8
7: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleBase.alreadyStopped"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.NEW:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
getstatic org.apache.catalina.LifecycleState.STOPPED:Lorg/apache/catalina/LifecycleState;
putfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
11: return
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STARTED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 14
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.FAILED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 14
13: aload 0
ldc "before_stop"
invokevirtual org.apache.catalina.util.LifecycleBase.invalidTransition:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.FAILED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 0
ldc "before_stop"
aconst_null
invokevirtual org.apache.catalina.util.LifecycleBase.fireLifecycleEvent:(Ljava/lang/String;Ljava/lang/Object;)V
16: goto 18
17: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.LifecycleState.STOPPING_PREP:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.stopInternal:()V
19: aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STOPPING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 21
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.FAILED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 21
20: aload 0
ldc "after_stop"
invokevirtual org.apache.catalina.util.LifecycleBase.invalidTransition:(Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.LifecycleState.STOPPED:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
22: goto 33
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 1
start local 1 24: aload 0
aload 1
ldc "lifecycleBase.stopFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.catalina.util.LifecycleBase.handleSubClassException:(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
end local 1 25: aload 0
instanceof org.apache.catalina.Lifecycle$SingleUse
ifeq 36
26: aload 0
getstatic org.apache.catalina.LifecycleState.STOPPED:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
27: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.destroy:()V
goto 36
28: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
29: aload 0
instanceof org.apache.catalina.Lifecycle$SingleUse
ifeq 32
30: aload 0
getstatic org.apache.catalina.LifecycleState.STOPPED:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
31: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.destroy:()V
32: StackMap locals: org.apache.catalina.util.LifecycleBase top java.lang.Throwable
StackMap stack:
aload 2
athrow
33: StackMap locals: org.apache.catalina.util.LifecycleBase
StackMap stack:
aload 0
instanceof org.apache.catalina.Lifecycle$SingleUse
ifeq 36
34: aload 0
getstatic org.apache.catalina.LifecycleState.STOPPED:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
35: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.destroy:()V
36: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lorg/apache/catalina/util/LifecycleBase;
4 5 1 e Ljava/lang/Exception;
24 25 1 t Ljava/lang/Throwable;
Exception table:
from to target type
14 22 23 Class java.lang.Throwable
14 25 28 any
Exceptions:
throws org.apache.catalina.LifecycleException
protected abstract void stopInternal();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws org.apache.catalina.LifecycleException
public final synchronized void destroy();
descriptor: ()V
flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic org.apache.catalina.LifecycleState.FAILED:Lorg/apache/catalina/LifecycleState;
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifeq 5
1: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.stop:()V
2: goto 5
StackMap locals:
StackMap stack: org.apache.catalina.LifecycleException
3: astore 1
start local 1 4: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleBase.destroyStopFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 5: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.LifecycleState.DESTROYING:Lorg/apache/catalina/LifecycleState;
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 6
getstatic org.apache.catalina.LifecycleState.DESTROYED:Lorg/apache/catalina/LifecycleState;
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifeq 13
6: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 10
7: new org.apache.catalina.LifecycleException
dup
invokespecial org.apache.catalina.LifecycleException.<init>:()V
astore 1
start local 1 8: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleBase.alreadyDestroyed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 9: goto 12
StackMap locals:
StackMap stack:
10: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 12
aload 0
instanceof org.apache.catalina.Lifecycle$SingleUse
ifne 12
11: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleBase.alreadyDestroyed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
return
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STOPPED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 16
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.FAILED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 16
14: aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.NEW:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 16
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.INITIALIZED:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 16
15: aload 0
ldc "before_destroy"
invokevirtual org.apache.catalina.util.LifecycleBase.invalidTransition:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.LifecycleState.DESTROYING:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
17: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.destroyInternal:()V
18: aload 0
getstatic org.apache.catalina.LifecycleState.DESTROYED:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
19: goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 1
start local 1 21: aload 0
aload 1
ldc "lifecycleBase.destroyFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.catalina.util.LifecycleBase.handleSubClassException:(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
end local 1 22: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/apache/catalina/util/LifecycleBase;
4 5 1 e Lorg/apache/catalina/LifecycleException;
8 9 1 e Ljava/lang/Exception;
21 22 1 t Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class org.apache.catalina.LifecycleException
16 19 20 Class java.lang.Throwable
Exceptions:
throws org.apache.catalina.LifecycleException
protected abstract void destroyInternal();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws org.apache.catalina.LifecycleException
public org.apache.catalina.LifecycleState getState();
descriptor: ()Lorg/apache/catalina/LifecycleState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/LifecycleBase;
public java.lang.String getStateName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/LifecycleBase;
protected synchronized void setState(org.apache.catalina.LifecycleState);
descriptor: (Lorg/apache/catalina/LifecycleState;)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
iconst_1
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/util/LifecycleBase;
0 2 1 state Lorg/apache/catalina/LifecycleState;
Exceptions:
throws org.apache.catalina.LifecycleException
MethodParameters:
Name Flags
state
protected synchronized void setState(org.apache.catalina.LifecycleState, java.lang.Object);
descriptor: (Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/util/LifecycleBase;
0 2 1 state Lorg/apache/catalina/LifecycleState;
0 2 2 data Ljava/lang/Object;
Exceptions:
throws org.apache.catalina.LifecycleException
MethodParameters:
Name Flags
state
data
private synchronized void setStateInternal(org.apache.catalina.LifecycleState, java.lang.Object, boolean);
descriptor: (Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleBase.setState"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
iload 3
ifeq 14
3: aload 1
ifnonnull 6
4: aload 0
ldc "null"
invokevirtual org.apache.catalina.util.LifecycleBase.invalidTransition:(Ljava/lang/String;)V
5: return
6: StackMap locals:
StackMap stack:
aload 1
getstatic org.apache.catalina.LifecycleState.FAILED:Lorg/apache/catalina/LifecycleState;
if_acmpeq 14
7: aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STARTING_PREP:Lorg/apache/catalina/LifecycleState;
if_acmpne 9
8: aload 1
getstatic org.apache.catalina.LifecycleState.STARTING:Lorg/apache/catalina/LifecycleState;
if_acmpeq 14
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STOPPING_PREP:Lorg/apache/catalina/LifecycleState;
if_acmpne 11
10: aload 1
getstatic org.apache.catalina.LifecycleState.STOPPING:Lorg/apache/catalina/LifecycleState;
if_acmpeq 14
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.FAILED:Lorg/apache/catalina/LifecycleState;
if_acmpne 13
12: aload 1
getstatic org.apache.catalina.LifecycleState.STOPPING:Lorg/apache/catalina/LifecycleState;
if_acmpeq 14
13: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.LifecycleState.name:()Ljava/lang/String;
invokevirtual org.apache.catalina.util.LifecycleBase.invalidTransition:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
15: aload 1
invokevirtual org.apache.catalina.LifecycleState.getLifecycleEvent:()Ljava/lang/String;
astore 4
start local 4 16: aload 4
ifnull 18
17: aload 0
aload 4
aload 2
invokevirtual org.apache.catalina.util.LifecycleBase.fireLifecycleEvent:(Ljava/lang/String;Ljava/lang/Object;)V
18: StackMap locals: java.lang.String
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/catalina/util/LifecycleBase;
0 19 1 state Lorg/apache/catalina/LifecycleState;
0 19 2 data Ljava/lang/Object;
0 19 3 check Z
16 19 4 lifecycleEvent Ljava/lang/String;
Exceptions:
throws org.apache.catalina.LifecycleException
MethodParameters:
Name Flags
state
data
check
private void invalidTransition(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleBase.invalidTransition"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
dup
iconst_2
aload 0
getfield org.apache.catalina.util.LifecycleBase.state:Lorg/apache/catalina/LifecycleState;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 1: new org.apache.catalina.LifecycleException
dup
aload 2
invokespecial org.apache.catalina.LifecycleException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/util/LifecycleBase;
0 2 1 type Ljava/lang/String;
1 2 2 msg Ljava/lang/String;
Exceptions:
throws org.apache.catalina.LifecycleException
MethodParameters:
Name Flags
type
private void handleSubClassException(java.lang.Throwable, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic org.apache.catalina.LifecycleState.FAILED:Lorg/apache/catalina/LifecycleState;
aconst_null
iconst_0
invokevirtual org.apache.catalina.util.LifecycleBase.setStateInternal:(Lorg/apache/catalina/LifecycleState;Ljava/lang/Object;Z)V
1: aload 1
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
2: getstatic org.apache.catalina.util.LifecycleBase.sm:Lorg/apache/tomcat/util/res/StringManager;
aload 2
aload 3
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 3: aload 0
invokevirtual org.apache.catalina.util.LifecycleBase.getThrowOnFailure:()Z
ifeq 7
4: aload 1
instanceof org.apache.catalina.LifecycleException
ifne 6
5: new org.apache.catalina.LifecycleException
dup
aload 4
aload 1
invokespecial org.apache.catalina.LifecycleException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
astore 1
6: StackMap locals: java.lang.String
StackMap stack:
aload 1
checkcast org.apache.catalina.LifecycleException
athrow
7: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.util.LifecycleBase.log:Lorg/apache/juli/logging/Log;
aload 4
aload 1
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/util/LifecycleBase;
0 9 1 t Ljava/lang/Throwable;
0 9 2 key Ljava/lang/String;
0 9 3 args [Ljava/lang/Object;
3 9 4 msg Ljava/lang/String;
Exceptions:
throws org.apache.catalina.LifecycleException
MethodParameters:
Name Flags
t
key
args
}
SourceFile: "LifecycleBase.java"
InnerClasses:
public abstract SingleUse = org.apache.catalina.Lifecycle$SingleUse of org.apache.catalina.Lifecycle