public class org.apache.catalina.mbeans.MBeanUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.mbeans.MBeanUtils
super_class: java.lang.Object
{
protected static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private static final java.lang.String[][] exceptions;
descriptor: [[Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static org.apache.tomcat.util.modeler.Registry registry;
descriptor: Lorg/apache/tomcat/util/modeler/Registry;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.management.MBeanServer mserver;
descriptor: Ljavax/management/MBeanServer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: ldc Lorg/apache/catalina/mbeans/MBeanUtils;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.mbeans.MBeanUtils.sm:Lorg/apache/tomcat/util/res/StringManager;
1: iconst_3
anewarray java.lang.String[]
dup
iconst_0
2: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "org.apache.catalina.users.MemoryGroup"
aastore
dup
iconst_1
3: ldc "Group"
aastore
aastore
dup
iconst_1
4: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "org.apache.catalina.users.MemoryRole"
aastore
dup
iconst_1
5: ldc "Role"
aastore
aastore
dup
iconst_2
6: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "org.apache.catalina.users.MemoryUser"
aastore
dup
iconst_1
7: ldc "User"
aastore
aastore
8: putstatic org.apache.catalina.mbeans.MBeanUtils.exceptions:[[Ljava/lang/String;
9: invokestatic org.apache.catalina.mbeans.MBeanUtils.createRegistry:()Lorg/apache/tomcat/util/modeler/Registry;
putstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
10: invokestatic org.apache.catalina.mbeans.MBeanUtils.createServer:()Ljavax/management/MBeanServer;
putstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/mbeans/MBeanUtils;
static java.lang.String createManagedName(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: java.lang.String int
StackMap stack:
aload 1
getstatic org.apache.catalina.mbeans.MBeanUtils.exceptions:[[Ljava/lang/String;
iload 2
aaload
iconst_0
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: getstatic org.apache.catalina.mbeans.MBeanUtils.exceptions:[[Ljava/lang/String;
iload 2
aaload
iconst_1
aaload
areturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
getstatic org.apache.catalina.mbeans.MBeanUtils.exceptions:[[Ljava/lang/String;
arraylength
if_icmplt 3
end local 2 7: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 8: iload 2
iflt 10
9: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 component Ljava/lang/Object;
1 11 1 className Ljava/lang/String;
2 7 2 i I
8 11 2 period I
MethodParameters:
Name Flags
component
public static javax.management.DynamicMBean createMBean(org.apache.tomcat.util.descriptor.web.ContextEnvironment);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;)Ljavax/management/DynamicMBean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=6, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: new java.lang.Exception
dup
getstatic org.apache.catalina.mbeans.MBeanUtils.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanUtils.noManagedBean"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: new javax.management.MBeanException
dup
aload 3
invokespecial javax.management.MBeanException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 5: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 0
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.createMBean:(Ljava/lang/Object;)Ljavax/management/DynamicMBean;
astore 4
start local 4 9: aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;)Ljavax/management/ObjectName;
astore 5
start local 5 10: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 12
11: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
12: StackMap locals: javax.management.DynamicMBean javax.management.ObjectName
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
aload 5
invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
13: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 environment Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
1 14 1 mname Ljava/lang/String;
2 14 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
4 5 3 e Ljava/lang/Exception;
6 14 3 domain Ljava/lang/String;
9 14 4 mbean Ljavax/management/DynamicMBean;
10 14 5 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
environment
public static javax.management.DynamicMBean createMBean(org.apache.tomcat.util.descriptor.web.ContextResource);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextResource;)Ljavax/management/DynamicMBean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=6, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: new java.lang.Exception
dup
getstatic org.apache.catalina.mbeans.MBeanUtils.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanUtils.noManagedBean"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: new javax.management.MBeanException
dup
aload 3
invokespecial javax.management.MBeanException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 5: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 0
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.createMBean:(Ljava/lang/Object;)Ljavax/management/DynamicMBean;
astore 4
start local 4 9: aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextResource;)Ljavax/management/ObjectName;
astore 5
start local 5 10: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 12
11: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
12: StackMap locals: javax.management.DynamicMBean javax.management.ObjectName
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
aload 5
invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
13: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 resource Lorg/apache/tomcat/util/descriptor/web/ContextResource;
1 14 1 mname Ljava/lang/String;
2 14 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
4 5 3 e Ljava/lang/Exception;
6 14 3 domain Ljava/lang/String;
9 14 4 mbean Ljavax/management/DynamicMBean;
10 14 5 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
resource
public static javax.management.DynamicMBean createMBean(org.apache.tomcat.util.descriptor.web.ContextResourceLink);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;)Ljavax/management/DynamicMBean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=6, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: new java.lang.Exception
dup
getstatic org.apache.catalina.mbeans.MBeanUtils.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanUtils.noManagedBean"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: new javax.management.MBeanException
dup
aload 3
invokespecial javax.management.MBeanException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 5: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 0
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.createMBean:(Ljava/lang/Object;)Ljavax/management/DynamicMBean;
astore 4
start local 4 9: aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;)Ljavax/management/ObjectName;
astore 5
start local 5 10: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 12
11: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
12: StackMap locals: javax.management.DynamicMBean javax.management.ObjectName
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
aload 5
invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
13: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 resourceLink Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
1 14 1 mname Ljava/lang/String;
2 14 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
4 5 3 e Ljava/lang/Exception;
6 14 3 domain Ljava/lang/String;
9 14 4 mbean Ljavax/management/DynamicMBean;
10 14 5 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
resourceLink
static javax.management.DynamicMBean createMBean(org.apache.catalina.Group);
descriptor: (Lorg/apache/catalina/Group;)Ljavax/management/DynamicMBean;
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=6, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: new java.lang.Exception
dup
getstatic org.apache.catalina.mbeans.MBeanUtils.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanUtils.noManagedBean"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: new javax.management.MBeanException
dup
aload 3
invokespecial javax.management.MBeanException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 5: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 0
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.createMBean:(Ljava/lang/Object;)Ljavax/management/DynamicMBean;
astore 4
start local 4 9: aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/catalina/Group;)Ljavax/management/ObjectName;
astore 5
start local 5 10: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 12
11: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
12: StackMap locals: javax.management.DynamicMBean javax.management.ObjectName
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
aload 5
invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
13: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 group Lorg/apache/catalina/Group;
1 14 1 mname Ljava/lang/String;
2 14 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
4 5 3 e Ljava/lang/Exception;
6 14 3 domain Ljava/lang/String;
9 14 4 mbean Ljavax/management/DynamicMBean;
10 14 5 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
group
static javax.management.DynamicMBean createMBean(org.apache.catalina.Role);
descriptor: (Lorg/apache/catalina/Role;)Ljavax/management/DynamicMBean;
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=6, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: new java.lang.Exception
dup
getstatic org.apache.catalina.mbeans.MBeanUtils.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanUtils.noManagedBean"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: new javax.management.MBeanException
dup
aload 3
invokespecial javax.management.MBeanException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 5: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 0
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.createMBean:(Ljava/lang/Object;)Ljavax/management/DynamicMBean;
astore 4
start local 4 9: aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/catalina/Role;)Ljavax/management/ObjectName;
astore 5
start local 5 10: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 12
11: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
12: StackMap locals: javax.management.DynamicMBean javax.management.ObjectName
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
aload 5
invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
13: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 role Lorg/apache/catalina/Role;
1 14 1 mname Ljava/lang/String;
2 14 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
4 5 3 e Ljava/lang/Exception;
6 14 3 domain Ljava/lang/String;
9 14 4 mbean Ljavax/management/DynamicMBean;
10 14 5 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
role
static javax.management.DynamicMBean createMBean(org.apache.catalina.User);
descriptor: (Lorg/apache/catalina/User;)Ljavax/management/DynamicMBean;
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=6, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: new java.lang.Exception
dup
getstatic org.apache.catalina.mbeans.MBeanUtils.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanUtils.noManagedBean"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: new javax.management.MBeanException
dup
aload 3
invokespecial javax.management.MBeanException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 5: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 0
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.createMBean:(Ljava/lang/Object;)Ljavax/management/DynamicMBean;
astore 4
start local 4 9: aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/catalina/User;)Ljavax/management/ObjectName;
astore 5
start local 5 10: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 12
11: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
12: StackMap locals: javax.management.DynamicMBean javax.management.ObjectName
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
aload 5
invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
13: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 user Lorg/apache/catalina/User;
1 14 1 mname Ljava/lang/String;
2 14 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
4 5 3 e Ljava/lang/Exception;
6 14 3 domain Ljava/lang/String;
9 14 4 mbean Ljavax/management/DynamicMBean;
10 14 5 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
user
static javax.management.DynamicMBean createMBean(org.apache.catalina.UserDatabase);
descriptor: (Lorg/apache/catalina/UserDatabase;)Ljavax/management/DynamicMBean;
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=6, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: new java.lang.Exception
dup
getstatic org.apache.catalina.mbeans.MBeanUtils.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanUtils.noManagedBean"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: new javax.management.MBeanException
dup
aload 3
invokespecial javax.management.MBeanException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 5: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 0
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.createMBean:(Ljava/lang/Object;)Ljavax/management/DynamicMBean;
astore 4
start local 4 9: aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/catalina/UserDatabase;)Ljavax/management/ObjectName;
astore 5
start local 5 10: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 12
11: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 5
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
12: StackMap locals: javax.management.DynamicMBean javax.management.ObjectName
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
aload 5
invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
13: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 userDatabase Lorg/apache/catalina/UserDatabase;
1 14 1 mname Ljava/lang/String;
2 14 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
4 5 3 e Ljava/lang/Exception;
6 14 3 domain Ljava/lang/String;
9 14 4 mbean Ljavax/management/DynamicMBean;
10 14 5 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
userDatabase
public static javax.management.ObjectName createObjectName(java.lang.String, org.apache.tomcat.util.descriptor.web.ContextEnvironment);
descriptor: (Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;)Ljavax/management/ObjectName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getNamingResources:()Lorg/apache/tomcat/util/descriptor/web/NamingResources;
invokeinterface org.apache.tomcat.util.descriptor.web.NamingResources.getContainer:()Ljava/lang/Object;
2: astore 3
start local 3 3: aload 3
instanceof org.apache.catalina.Server
ifeq 8
4: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=Environment"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc ",resourcetype=Global,name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
7: goto 17
StackMap locals: javax.management.ObjectName java.lang.Object
StackMap stack:
8: aload 3
instanceof org.apache.catalina.Context
ifeq 17
9: aload 3
checkcast org.apache.catalina.Context
astore 4
start local 4 10: new org.apache.catalina.util.ContextName
dup
aload 4
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
iconst_0
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Z)V
astore 5
start local 5 11: aload 4
invokeinterface org.apache.catalina.Context.getParent:()Lorg/apache/catalina/Container;
astore 6
start local 6 12: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=Environment"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: ldc ",resourcetype=Context,host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: ldc ",context="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: ldc ",name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
end local 6 end local 5 end local 4 17: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 domain Ljava/lang/String;
0 18 1 environment Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
1 18 2 name Ljavax/management/ObjectName;
3 18 3 container Ljava/lang/Object;
10 17 4 context Lorg/apache/catalina/Context;
11 17 5 cn Lorg/apache/catalina/util/ContextName;
12 17 6 host Lorg/apache/catalina/Container;
Exceptions:
throws javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
domain
environment
public static javax.management.ObjectName createObjectName(java.lang.String, org.apache.tomcat.util.descriptor.web.ContextResource);
descriptor: (Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextResource;)Ljavax/management/ObjectName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
invokestatic javax.management.ObjectName.quote:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getNamingResources:()Lorg/apache/tomcat/util/descriptor/web/NamingResources;
invokeinterface org.apache.tomcat.util.descriptor.web.NamingResources.getContainer:()Ljava/lang/Object;
3: astore 4
start local 4 4: aload 4
instanceof org.apache.catalina.Server
ifeq 10
5: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=Resource"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc ",resourcetype=Global,class="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc ",name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
9: goto 20
StackMap locals: javax.management.ObjectName java.lang.String java.lang.Object
StackMap stack:
10: aload 4
instanceof org.apache.catalina.Context
ifeq 20
11: aload 4
checkcast org.apache.catalina.Context
astore 5
start local 5 12: new org.apache.catalina.util.ContextName
dup
aload 5
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
iconst_0
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Z)V
astore 6
start local 6 13: aload 5
invokeinterface org.apache.catalina.Context.getParent:()Lorg/apache/catalina/Container;
astore 7
start local 7 14: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=Resource"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: ldc ",resourcetype=Context,host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: ldc ",context="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: ldc ",class="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc ",name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
end local 7 end local 6 end local 5 20: StackMap locals:
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 domain Ljava/lang/String;
0 21 1 resource Lorg/apache/tomcat/util/descriptor/web/ContextResource;
1 21 2 name Ljavax/management/ObjectName;
2 21 3 quotedResourceName Ljava/lang/String;
4 21 4 container Ljava/lang/Object;
12 20 5 context Lorg/apache/catalina/Context;
13 20 6 cn Lorg/apache/catalina/util/ContextName;
14 20 7 host Lorg/apache/catalina/Container;
Exceptions:
throws javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
domain
resource
public static javax.management.ObjectName createObjectName(java.lang.String, org.apache.tomcat.util.descriptor.web.ContextResourceLink);
descriptor: (Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;)Ljavax/management/ObjectName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getName:()Ljava/lang/String;
invokestatic javax.management.ObjectName.quote:(Ljava/lang/String;)Ljava/lang/String;
2: astore 3
start local 3 3: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getNamingResources:()Lorg/apache/tomcat/util/descriptor/web/NamingResources;
invokeinterface org.apache.tomcat.util.descriptor.web.NamingResources.getContainer:()Ljava/lang/Object;
4: astore 4
start local 4 5: aload 4
instanceof org.apache.catalina.Server
ifeq 11
6: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=ResourceLink"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc ",resourcetype=Global"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc ",name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
10: goto 20
StackMap locals: javax.management.ObjectName java.lang.String java.lang.Object
StackMap stack:
11: aload 4
instanceof org.apache.catalina.Context
ifeq 20
12: aload 4
checkcast org.apache.catalina.Context
astore 5
start local 5 13: new org.apache.catalina.util.ContextName
dup
aload 5
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
iconst_0
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Z)V
astore 6
start local 6 14: aload 5
invokeinterface org.apache.catalina.Context.getParent:()Lorg/apache/catalina/Container;
astore 7
start local 7 15: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=ResourceLink"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: ldc ",resourcetype=Context,host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: ldc ",context="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc ",name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
end local 7 end local 6 end local 5 20: StackMap locals:
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 domain Ljava/lang/String;
0 21 1 resourceLink Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
1 21 2 name Ljavax/management/ObjectName;
3 21 3 quotedResourceLinkName Ljava/lang/String;
5 21 4 container Ljava/lang/Object;
13 20 5 context Lorg/apache/catalina/Context;
14 20 6 cn Lorg/apache/catalina/util/ContextName;
15 20 7 host Lorg/apache/catalina/Container;
Exceptions:
throws javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
domain
resourceLink
static javax.management.ObjectName createObjectName(java.lang.String, org.apache.catalina.Group);
descriptor: (Ljava/lang/String;Lorg/apache/catalina/Group;)Ljavax/management/ObjectName;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=Group,groupname="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 1
invokeinterface org.apache.catalina.Group.getGroupname:()Ljava/lang/String;
invokestatic javax.management.ObjectName.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc ",database="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokeinterface org.apache.catalina.Group.getUserDatabase:()Lorg/apache/catalina/UserDatabase;
invokeinterface org.apache.catalina.UserDatabase.getId:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 domain Ljava/lang/String;
0 6 1 group Lorg/apache/catalina/Group;
1 6 2 name Ljavax/management/ObjectName;
Exceptions:
throws javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
domain
group
static javax.management.ObjectName createObjectName(java.lang.String, org.apache.catalina.Loader);
descriptor: (Ljava/lang/String;Lorg/apache/catalina/Loader;)Ljavax/management/ObjectName;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokeinterface org.apache.catalina.Loader.getContext:()Lorg/apache/catalina/Context;
astore 3
start local 3 2: new org.apache.catalina.util.ContextName
dup
aload 3
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
iconst_0
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Z)V
astore 4
start local 4 3: aload 3
invokeinterface org.apache.catalina.Context.getParent:()Lorg/apache/catalina/Container;
astore 5
start local 5 4: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=Loader,host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc ",context="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
7: aload 2
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 domain Ljava/lang/String;
0 8 1 loader Lorg/apache/catalina/Loader;
1 8 2 name Ljavax/management/ObjectName;
2 8 3 context Lorg/apache/catalina/Context;
3 8 4 cn Lorg/apache/catalina/util/ContextName;
4 8 5 host Lorg/apache/catalina/Container;
Exceptions:
throws javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
domain
loader
static javax.management.ObjectName createObjectName(java.lang.String, org.apache.catalina.Role);
descriptor: (Ljava/lang/String;Lorg/apache/catalina/Role;)Ljavax/management/ObjectName;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=Role,rolename="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 1
invokeinterface org.apache.catalina.Role.getRolename:()Ljava/lang/String;
invokestatic javax.management.ObjectName.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc ",database="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokeinterface org.apache.catalina.Role.getUserDatabase:()Lorg/apache/catalina/UserDatabase;
invokeinterface org.apache.catalina.UserDatabase.getId:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 domain Ljava/lang/String;
0 5 1 role Lorg/apache/catalina/Role;
4 5 2 name Ljavax/management/ObjectName;
Exceptions:
throws javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
domain
role
static javax.management.ObjectName createObjectName(java.lang.String, org.apache.catalina.User);
descriptor: (Ljava/lang/String;Lorg/apache/catalina/User;)Ljavax/management/ObjectName;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=User,username="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 1
invokeinterface org.apache.catalina.User.getUsername:()Ljava/lang/String;
invokestatic javax.management.ObjectName.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc ",database="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokeinterface org.apache.catalina.User.getUserDatabase:()Lorg/apache/catalina/UserDatabase;
invokeinterface org.apache.catalina.UserDatabase.getId:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 domain Ljava/lang/String;
0 5 1 user Lorg/apache/catalina/User;
4 5 2 name Ljavax/management/ObjectName;
Exceptions:
throws javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
domain
user
static javax.management.ObjectName createObjectName(java.lang.String, org.apache.catalina.UserDatabase);
descriptor: (Ljava/lang/String;Lorg/apache/catalina/UserDatabase;)Ljavax/management/ObjectName;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=UserDatabase,database="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 1
invokeinterface org.apache.catalina.UserDatabase.getId:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 domain Ljava/lang/String;
0 5 1 userDatabase Lorg/apache/catalina/UserDatabase;
1 5 2 name Ljavax/management/ObjectName;
Exceptions:
throws javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
domain
userDatabase
public static synchronized org.apache.tomcat.util.modeler.Registry createRegistry();
descriptor: ()Lorg/apache/tomcat/util/modeler/Registry;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ifnonnull 18
1: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
putstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
2: ldc Lorg/apache/catalina/mbeans/MBeanUtils;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 3: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.mbeans"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
4: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.authenticator"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
5: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.core"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
6: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
7: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.deploy"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
8: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.loader"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
9: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.realm"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
10: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.session"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
11: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.startup"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
12: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.users"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
13: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.ha"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
14: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.connector"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
15: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.valves"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
16: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.catalina.storeconfig"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
17: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
ldc "org.apache.tomcat.util.descriptor.web"
aload 0
invokevirtual org.apache.tomcat.util.modeler.Registry.loadDescriptors:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
end local 0 18: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
areturn
LocalVariableTable:
Start End Slot Name Signature
3 18 0 cl Ljava/lang/ClassLoader;
public static synchronized javax.management.MBeanServer createServer();
descriptor: ()Ljavax/management/MBeanServer;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
ifnonnull 2
1: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
invokevirtual org.apache.tomcat.util.modeler.Registry.getMBeanServer:()Ljavax/management/MBeanServer;
putstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
2: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void destroyMBean(org.apache.tomcat.util.descriptor.web.ContextEnvironment);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: return
4: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnonnull 7
6: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
7: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;)Ljavax/management/ObjectName;
astore 4
start local 4 8: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 10
9: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
10: StackMap locals: javax.management.ObjectName
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 11 0 environment Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
1 11 1 mname Ljava/lang/String;
2 11 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
5 11 3 domain Ljava/lang/String;
8 11 4 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
environment
public static void destroyMBean(org.apache.tomcat.util.descriptor.web.ContextResource);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextResource;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: ldc "org.apache.catalina.UserDatabase"
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
invokestatic org.apache.catalina.mbeans.MBeanUtils.destroyMBeanUserDatabase:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 3: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 4: aload 2
ifnonnull 6
5: return
6: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 7: aload 3
ifnonnull 9
8: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
9: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextResource;)Ljavax/management/ObjectName;
astore 4
start local 4 10: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 12
11: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
12: StackMap locals: javax.management.ObjectName
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 13 0 resource Lorg/apache/tomcat/util/descriptor/web/ContextResource;
3 13 1 mname Ljava/lang/String;
4 13 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
7 13 3 domain Ljava/lang/String;
10 13 4 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
resource
public static void destroyMBean(org.apache.tomcat.util.descriptor.web.ContextResourceLink);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: return
4: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnonnull 7
6: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
7: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;)Ljavax/management/ObjectName;
astore 4
start local 4 8: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 10
9: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
10: StackMap locals: javax.management.ObjectName
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 11 0 resourceLink Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
1 11 1 mname Ljava/lang/String;
2 11 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
5 11 3 domain Ljava/lang/String;
8 11 4 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
resourceLink
static void destroyMBean(org.apache.catalina.Group);
descriptor: (Lorg/apache/catalina/Group;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: return
4: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnonnull 7
6: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
7: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/catalina/Group;)Ljavax/management/ObjectName;
astore 4
start local 4 8: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 10
9: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
10: StackMap locals: javax.management.ObjectName
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 11 0 group Lorg/apache/catalina/Group;
1 11 1 mname Ljava/lang/String;
2 11 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
5 11 3 domain Ljava/lang/String;
8 11 4 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
group
static void destroyMBean(org.apache.catalina.Role);
descriptor: (Lorg/apache/catalina/Role;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: return
4: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnonnull 7
6: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
7: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/catalina/Role;)Ljavax/management/ObjectName;
astore 4
start local 4 8: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 10
9: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
10: StackMap locals: javax.management.ObjectName
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 11 0 role Lorg/apache/catalina/Role;
1 11 1 mname Ljava/lang/String;
2 11 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
5 11 3 domain Ljava/lang/String;
8 11 4 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
role
static void destroyMBean(org.apache.catalina.User);
descriptor: (Lorg/apache/catalina/User;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createManagedName:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.catalina.mbeans.MBeanUtils.registry:Lorg/apache/tomcat/util/modeler/Registry;
aload 1
invokevirtual org.apache.tomcat.util.modeler.Registry.findManagedBean:(Ljava/lang/String;)Lorg/apache/tomcat/util/modeler/ManagedBean;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: return
4: StackMap locals: java.lang.String org.apache.tomcat.util.modeler.ManagedBean
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.modeler.ManagedBean.getDomain:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnonnull 7
6: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
invokeinterface javax.management.MBeanServer.getDefaultDomain:()Ljava/lang/String;
astore 3
7: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 0
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/catalina/User;)Ljavax/management/ObjectName;
astore 4
start local 4 8: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 10
9: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
10: StackMap locals: javax.management.ObjectName
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 11 0 user Lorg/apache/catalina/User;
1 11 1 mname Ljava/lang/String;
2 11 2 managed Lorg/apache/tomcat/util/modeler/ManagedBean;
5 11 3 domain Ljava/lang/String;
8 11 4 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
user
static void destroyMBeanUserDatabase(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: new javax.management.ObjectName
dup
3: new java.lang.StringBuilder
dup
ldc "Users:type=Group,database="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ",*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 1
5: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 1
aconst_null
invokeinterface javax.management.MBeanServer.queryNames:(Ljavax/management/ObjectName;Ljavax/management/QueryExp;)Ljava/util/Set;
astore 2
6: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: java.lang.String javax.management.ObjectName java.util.Set top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.ObjectName
astore 3
start local 3 8: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 3
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: new javax.management.ObjectName
dup
11: new java.lang.StringBuilder
dup
ldc "Users:type=Role,database="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ",*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 1
13: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 1
aconst_null
invokeinterface javax.management.MBeanServer.queryNames:(Ljavax/management/ObjectName;Ljavax/management/QueryExp;)Ljava/util/Set;
astore 2
14: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 17
StackMap locals:
StackMap stack:
15: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.ObjectName
astore 3
start local 3 16: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 3
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
end local 3 17: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: new javax.management.ObjectName
dup
19: new java.lang.StringBuilder
dup
ldc "Users:type=User,database="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ",*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 1
21: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 1
aconst_null
invokeinterface javax.management.MBeanServer.queryNames:(Ljavax/management/ObjectName;Ljavax/management/QueryExp;)Ljava/util/Set;
astore 2
22: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 25
StackMap locals:
StackMap stack:
23: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.ObjectName
astore 3
start local 3 24: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 3
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
end local 3 25: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
26: new javax.management.ObjectName
dup
27: new java.lang.StringBuilder
dup
ldc "Users:type=UserDatabase,database="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 3
start local 3 29: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 3
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 31
30: getstatic org.apache.catalina.mbeans.MBeanUtils.mserver:Ljavax/management/MBeanServer;
aload 3
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
31: StackMap locals: java.lang.String javax.management.ObjectName java.util.Set javax.management.ObjectName
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 userDatabase Ljava/lang/String;
1 32 1 query Ljavax/management/ObjectName;
2 32 2 results Ljava/util/Set<Ljavax/management/ObjectName;>;
8 9 3 result Ljavax/management/ObjectName;
16 17 3 result Ljavax/management/ObjectName;
24 25 3 result Ljavax/management/ObjectName;
29 32 3 db Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
userDatabase
}
SourceFile: "MBeanUtils.java"