public abstract class org.apache.catalina.util.LifecycleMBeanBase extends org.apache.catalina.util.LifecycleBase implements org.apache.catalina.JmxEnabled
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.catalina.util.LifecycleMBeanBase
super_class: org.apache.catalina.util.LifecycleBase
{
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 java.lang.String domain;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.management.ObjectName oname;
descriptor: Ljavax/management/ObjectName;
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/LifecycleMBeanBase;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.util.LifecycleMBeanBase.log:Lorg/apache/juli/logging/Log;
1: ldc "org.apache.catalina.util"
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
2: putstatic org.apache.catalina.util.LifecycleMBeanBase.sm:Lorg/apache/tomcat/util/res/StringManager;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.util.LifecycleBase.<init>:()V
1: aload 0
aconst_null
putfield org.apache.catalina.util.LifecycleMBeanBase.domain:Ljava/lang/String;
2: aload 0
aconst_null
putfield org.apache.catalina.util.LifecycleMBeanBase.oname:Ljavax/management/ObjectName;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
protected void initInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.LifecycleMBeanBase.oname:Ljavax/management/ObjectName;
ifnonnull 2
1: aload 0
aload 0
aload 0
aload 0
invokevirtual org.apache.catalina.util.LifecycleMBeanBase.getObjectNameKeyProperties:()Ljava/lang/String;
invokevirtual org.apache.catalina.util.LifecycleMBeanBase.register:(Ljava/lang/Object;Ljava/lang/String;)Ljavax/management/ObjectName;
putfield org.apache.catalina.util.LifecycleMBeanBase.oname:Ljavax/management/ObjectName;
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
Exceptions:
throws org.apache.catalina.LifecycleException
protected void destroyInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.catalina.util.LifecycleMBeanBase.oname:Ljavax/management/ObjectName;
invokevirtual org.apache.catalina.util.LifecycleMBeanBase.unregister:(Ljavax/management/ObjectName;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
Exceptions:
throws org.apache.catalina.LifecycleException
public final void setDomain(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.util.LifecycleMBeanBase.domain:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
0 2 1 domain Ljava/lang/String;
MethodParameters:
Name Flags
domain
public final java.lang.String getDomain();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.LifecycleMBeanBase.domain:Ljava/lang/String;
ifnonnull 2
1: aload 0
aload 0
invokevirtual org.apache.catalina.util.LifecycleMBeanBase.getDomainInternal:()Ljava/lang/String;
putfield org.apache.catalina.util.LifecycleMBeanBase.domain:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.util.LifecycleMBeanBase.domain:Ljava/lang/String;
ifnonnull 4
3: aload 0
ldc "Catalina"
putfield org.apache.catalina.util.LifecycleMBeanBase.domain:Ljava/lang/String;
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.util.LifecycleMBeanBase.domain:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
protected abstract java.lang.String getDomainInternal();
descriptor: ()Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public final javax.management.ObjectName getObjectName();
descriptor: ()Ljavax/management/ObjectName;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.LifecycleMBeanBase.oname:Ljavax/management/ObjectName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
protected abstract java.lang.String getObjectNameKeyProperties();
descriptor: ()Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected final javax.management.ObjectName register(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)Ljavax/management/ObjectName;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.util.LifecycleMBeanBase.getDomain:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aconst_null
astore 4
start local 4 4: new javax.management.ObjectName
dup
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 4
5: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
aload 1
aload 4
aconst_null
invokevirtual org.apache.tomcat.util.modeler.Registry.registerComponent:(Ljava/lang/Object;Ljavax/management/ObjectName;Ljava/lang/String;)V
6: goto 16
StackMap locals: org.apache.catalina.util.LifecycleMBeanBase java.lang.Object java.lang.String java.lang.StringBuilder javax.management.ObjectName
StackMap stack: javax.management.MalformedObjectNameException
7: astore 5
start local 5 8: getstatic org.apache.catalina.util.LifecycleMBeanBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.util.LifecycleMBeanBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleMBeanBase.registerFail"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 3
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: aload 5
10: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 5 11: goto 16
12: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 13: getstatic org.apache.catalina.util.LifecycleMBeanBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.util.LifecycleMBeanBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "lifecycleMBeanBase.registerFail"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 3
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
14: aload 5
15: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 5 16: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
0 17 1 obj Ljava/lang/Object;
0 17 2 objectNameKeyProperties Ljava/lang/String;
1 17 3 name Ljava/lang/StringBuilder;
4 17 4 on Ljavax/management/ObjectName;
8 11 5 e Ljavax/management/MalformedObjectNameException;
13 16 5 e Ljava/lang/Exception;
Exception table:
from to target type
4 6 7 Class javax.management.MalformedObjectNameException
4 6 12 Class java.lang.Exception
MethodParameters:
Name Flags
obj
objectNameKeyProperties
protected final void unregister(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.util.LifecycleMBeanBase.getDomain:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 2
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.modeler.Registry.unregisterComponent:(Ljava/lang/String;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
0 5 1 objectNameKeyProperties Ljava/lang/String;
1 5 2 name Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
objectNameKeyProperties
protected final void unregister(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.unregisterComponent:(Ljavax/management/ObjectName;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
0 2 1 on Ljavax/management/ObjectName;
MethodParameters:
Name Flags
on
public final void postDeregister();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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/apache/catalina/util/LifecycleMBeanBase;
public final void postRegister(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
0 1 1 registrationDone Ljava/lang/Boolean;
MethodParameters:
Name Flags
registrationDone
public final void preDeregister();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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/apache/catalina/util/LifecycleMBeanBase;
Exceptions:
throws java.lang.Exception
public final javax.management.ObjectName preRegister(javax.management.MBeanServer, javax.management.ObjectName);
descriptor: (Ljavax/management/MBeanServer;Ljavax/management/ObjectName;)Ljavax/management/ObjectName;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
putfield org.apache.catalina.util.LifecycleMBeanBase.oname:Ljavax/management/ObjectName;
1: aload 0
aload 2
invokevirtual javax.management.ObjectName.getDomain:()Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
putfield org.apache.catalina.util.LifecycleMBeanBase.domain:Ljava/lang/String;
2: aload 0
getfield org.apache.catalina.util.LifecycleMBeanBase.oname:Ljavax/management/ObjectName;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/util/LifecycleMBeanBase;
0 3 1 server Ljavax/management/MBeanServer;
0 3 2 name Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
server
name
}
SourceFile: "LifecycleMBeanBase.java"