public class org.apache.catalina.mbeans.MBeanFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.mbeans.MBeanFactory
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
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 javax.management.MBeanServer mserver;
descriptor: Ljavax/management/MBeanServer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.Object container;
descriptor: Ljava/lang/Object;
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/mbeans/MBeanFactory;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.mbeans.MBeanFactory.log:Lorg/apache/juli/logging/Log;
1: ldc Lorg/apache/catalina/mbeans/MBeanFactory;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.mbeans.MBeanFactory.sm:Lorg/apache/tomcat/util/res/StringManager;
2: invokestatic org.apache.catalina.mbeans.MBeanUtils.createServer:()Ljavax/management/MBeanServer;
putstatic org.apache.catalina.mbeans.MBeanFactory.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/MBeanFactory;
public void setContainer(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.mbeans.MBeanFactory.container:Ljava/lang/Object;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 2 1 container Ljava/lang/Object;
MethodParameters:
Name Flags
container
private final java.lang.String getPathStr(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 3 1 t Ljava/lang/String;
MethodParameters:
Name Flags
t
private org.apache.catalina.Container getParentContainerFromParent(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)Lorg/apache/catalina/Container;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=13, args_size=2
start local 0 start local 1 0: aload 1
ldc "type"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 1
ldc "j2eeType"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
aload 1
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getService:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Service;
astore 4
start local 4 3: aload 4
invokeinterface org.apache.catalina.Service.getContainer:()Lorg/apache/catalina/Engine;
checkcast org.apache.catalina.core.StandardEngine
astore 5
start local 5 4: aload 3
ifnull 14
aload 3
ldc "WebModule"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
5: aload 1
ldc "name"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 6: aload 6
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
7: aload 6
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 8: aload 6
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 9: aload 6
iload 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 9
start local 9 10: aload 5
aload 8
invokevirtual org.apache.catalina.core.StandardEngine.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
astore 10
start local 10 11: aload 0
aload 9
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getPathStr:(Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 12: aload 10
aload 11
invokeinterface org.apache.catalina.Container.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
astore 12
start local 12 13: aload 12
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 14: StackMap locals: org.apache.catalina.mbeans.MBeanFactory javax.management.ObjectName java.lang.String java.lang.String org.apache.catalina.Service org.apache.catalina.core.StandardEngine
StackMap stack:
aload 2
ifnull 21
15: aload 2
ldc "Engine"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
16: aload 5
areturn
17: StackMap locals:
StackMap stack:
aload 2
ldc "Host"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
18: aload 1
ldc "host"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 19: aload 5
aload 6
invokevirtual org.apache.catalina.core.StandardEngine.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
astore 7
start local 7 20: aload 7
areturn
end local 7 end local 6 21: StackMap locals:
StackMap stack:
aconst_null
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 22 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 22 1 pname Ljavax/management/ObjectName;
1 22 2 type Ljava/lang/String;
2 22 3 j2eeType Ljava/lang/String;
3 22 4 service Lorg/apache/catalina/Service;
4 22 5 engine Lorg/apache/catalina/core/StandardEngine;
6 14 6 name Ljava/lang/String;
8 14 7 i I
9 14 8 hostName Ljava/lang/String;
10 14 9 path Ljava/lang/String;
11 14 10 host Lorg/apache/catalina/Container;
12 14 11 pathStr Ljava/lang/String;
13 14 12 context Lorg/apache/catalina/Container;
19 21 6 hostName Ljava/lang/String;
20 21 7 host Lorg/apache/catalina/Container;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
pname
private org.apache.catalina.Container getParentContainerFromChild(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)Lorg/apache/catalina/Container;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ldc "host"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 1
ldc "path"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
aload 1
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getService:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Service;
astore 4
start local 4 3: aload 4
invokeinterface org.apache.catalina.Service.getContainer:()Lorg/apache/catalina/Engine;
astore 5
start local 5 4: aload 2
ifnonnull 6
5: aload 5
areturn
6: StackMap locals: org.apache.catalina.mbeans.MBeanFactory javax.management.ObjectName java.lang.String java.lang.String org.apache.catalina.Service org.apache.catalina.Container
StackMap stack:
aload 3
ifnonnull 9
7: aload 5
aload 2
invokeinterface org.apache.catalina.Container.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
astore 6
start local 6 8: aload 6
areturn
end local 6 9: StackMap locals:
StackMap stack:
aload 5
aload 2
invokeinterface org.apache.catalina.Container.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
astore 6
start local 6 10: aload 0
aload 3
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getPathStr:(Ljava/lang/String;)Ljava/lang/String;
astore 3
11: aload 6
aload 3
invokeinterface org.apache.catalina.Container.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
astore 7
start local 7 12: aload 7
areturn
end local 7 end local 6 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 13 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 13 1 oname Ljavax/management/ObjectName;
1 13 2 hostName Ljava/lang/String;
2 13 3 path Ljava/lang/String;
3 13 4 service Lorg/apache/catalina/Service;
4 13 5 engine Lorg/apache/catalina/Container;
8 9 6 host Lorg/apache/catalina/Container;
10 13 6 host Lorg/apache/catalina/Container;
12 13 7 context Lorg/apache/catalina/Container;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
oname
private org.apache.catalina.Service getService(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)Lorg/apache/catalina/Service;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.mbeans.MBeanFactory.container:Ljava/lang/Object;
instanceof org.apache.catalina.Service
ifeq 2
1: aload 0
getfield org.apache.catalina.mbeans.MBeanFactory.container:Ljava/lang/Object;
checkcast org.apache.catalina.Service
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 1
invokevirtual javax.management.ObjectName.getDomain:()Ljava/lang/String;
astore 3
start local 3 4: aload 0
getfield org.apache.catalina.mbeans.MBeanFactory.container:Ljava/lang/Object;
instanceof org.apache.catalina.Server
ifeq 13
5: aload 0
getfield org.apache.catalina.mbeans.MBeanFactory.container:Ljava/lang/Object;
checkcast org.apache.catalina.Server
invokeinterface org.apache.catalina.Server.findServices:()[Lorg/apache/catalina/Service;
astore 4
start local 4 6: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 12
StackMap locals: org.apache.catalina.mbeans.MBeanFactory javax.management.ObjectName org.apache.catalina.core.StandardService java.lang.String org.apache.catalina.Service[] top int int org.apache.catalina.Service[]
StackMap stack:
7: aload 8
iload 6
aaload
astore 5
start local 5 8: aload 5
checkcast org.apache.catalina.core.StandardService
astore 2
9: aload 3
aload 2
invokevirtual org.apache.catalina.core.StandardService.getObjectName:()Ljavax/management/ObjectName;
invokevirtual javax.management.ObjectName.getDomain:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: goto 13
end local 5 11: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
iload 7
if_icmplt 7
end local 4 13: StackMap locals: org.apache.catalina.mbeans.MBeanFactory javax.management.ObjectName org.apache.catalina.core.StandardService java.lang.String
StackMap stack:
aload 2
ifnull 15
14: aload 2
invokevirtual org.apache.catalina.core.StandardService.getObjectName:()Ljavax/management/ObjectName;
invokevirtual javax.management.ObjectName.getDomain:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
15: StackMap locals:
StackMap stack:
new java.lang.Exception
dup
getstatic org.apache.catalina.mbeans.MBeanFactory.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanFactory.noService"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
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
athrow
16: 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 17 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 17 1 oname Ljavax/management/ObjectName;
3 17 2 service Lorg/apache/catalina/core/StandardService;
4 17 3 domain Ljava/lang/String;
6 13 4 services [Lorg/apache/catalina/Service;
8 11 5 value Lorg/apache/catalina/Service;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
oname
public java.lang.String createAjpConnector(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
iconst_1
iconst_0
invokevirtual org.apache.catalina.mbeans.MBeanFactory.createConnector:(Ljava/lang/String;Ljava/lang/String;IZZ)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 1 1 parent Ljava/lang/String;
0 1 2 address Ljava/lang/String;
0 1 3 port I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
address
port
public java.lang.String createDataSourceRealm(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: new org.apache.catalina.realm.DataSourceRealm
dup
invokespecial org.apache.catalina.realm.DataSourceRealm.<init>:()V
astore 8
start local 8 1: aload 8
aload 2
invokevirtual org.apache.catalina.realm.DataSourceRealm.setDataSourceName:(Ljava/lang/String;)V
2: aload 8
aload 3
invokevirtual org.apache.catalina.realm.DataSourceRealm.setRoleNameCol:(Ljava/lang/String;)V
3: aload 8
aload 4
invokevirtual org.apache.catalina.realm.DataSourceRealm.setUserCredCol:(Ljava/lang/String;)V
4: aload 8
aload 5
invokevirtual org.apache.catalina.realm.DataSourceRealm.setUserNameCol:(Ljava/lang/String;)V
5: aload 8
aload 6
invokevirtual org.apache.catalina.realm.DataSourceRealm.setUserRoleTable:(Ljava/lang/String;)V
6: aload 8
aload 7
invokevirtual org.apache.catalina.realm.DataSourceRealm.setUserTable:(Ljava/lang/String;)V
7: aload 0
aload 1
aload 8
invokevirtual org.apache.catalina.mbeans.MBeanFactory.addRealmToParent:(Ljava/lang/String;Lorg/apache/catalina/Realm;)Ljava/lang/String;
areturn
end local 8 end local 7 end local 6 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 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 8 1 parent Ljava/lang/String;
0 8 2 dataSourceName Ljava/lang/String;
0 8 3 roleNameCol Ljava/lang/String;
0 8 4 userCredCol Ljava/lang/String;
0 8 5 userNameCol Ljava/lang/String;
0 8 6 userRoleTable Ljava/lang/String;
0 8 7 userTable Ljava/lang/String;
1 8 8 realm Lorg/apache/catalina/realm/DataSourceRealm;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
dataSourceName
roleNameCol
userCredCol
userNameCol
userRoleTable
userTable
private java.lang.String addRealmToParent(java.lang.String, org.apache.catalina.Realm);
descriptor: (Ljava/lang/String;Lorg/apache/catalina/Realm;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: aload 0
aload 3
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getParentContainerFromParent:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Container;
astore 4
start local 4 2: aload 4
aload 2
invokeinterface org.apache.catalina.Container.setRealm:(Lorg/apache/catalina/Realm;)V
3: aconst_null
astore 5
start local 5 4: aload 2
instanceof org.apache.catalina.JmxEnabled
ifeq 6
5: aload 2
checkcast org.apache.catalina.JmxEnabled
invokeinterface org.apache.catalina.JmxEnabled.getObjectName:()Ljavax/management/ObjectName;
astore 5
6: StackMap locals: javax.management.ObjectName org.apache.catalina.Container javax.management.ObjectName
StackMap stack:
aload 5
ifnull 8
7: aload 5
invokevirtual javax.management.ObjectName.toString:()Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aconst_null
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 9 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 9 1 parent Ljava/lang/String;
0 9 2 realm Lorg/apache/catalina/Realm;
1 9 3 pname Ljavax/management/ObjectName;
2 9 4 container Lorg/apache/catalina/Container;
4 9 5 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
realm
public java.lang.String createHttpConnector(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
iconst_0
iconst_0
invokevirtual org.apache.catalina.mbeans.MBeanFactory.createConnector:(Ljava/lang/String;Ljava/lang/String;IZZ)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 1 1 parent Ljava/lang/String;
0 1 2 address Ljava/lang/String;
0 1 3 port I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
address
port
private java.lang.String createConnector(java.lang.String, java.lang.String, int, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;IZZ)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 4
ifeq 1
ldc "AJP/1.3"
goto 2
StackMap locals:
StackMap stack:
1: ldc "HTTP/1.1"
StackMap locals:
StackMap stack: java.lang.String
2: astore 6
start local 6 3: new org.apache.catalina.connector.Connector
dup
aload 6
invokespecial org.apache.catalina.connector.Connector.<init>:(Ljava/lang/String;)V
astore 7
start local 7 4: aload 2
ifnull 6
aload 2
invokevirtual java.lang.String.length:()I
ifle 6
5: aload 7
ldc "address"
aload 2
invokevirtual org.apache.catalina.connector.Connector.setProperty:(Ljava/lang/String;Ljava/lang/String;)Z
pop
6: StackMap locals: java.lang.String org.apache.catalina.connector.Connector
StackMap stack:
aload 7
iload 3
invokevirtual org.apache.catalina.connector.Connector.setPort:(I)V
7: aload 7
iload 5
invokevirtual org.apache.catalina.connector.Connector.setSecure:(Z)V
8: aload 7
iload 5
ifeq 9
ldc "https"
goto 10
StackMap locals:
StackMap stack: org.apache.catalina.connector.Connector
9: ldc "http"
StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String java.lang.String int int int java.lang.String org.apache.catalina.connector.Connector
StackMap stack: org.apache.catalina.connector.Connector java.lang.String
10: invokevirtual org.apache.catalina.connector.Connector.setScheme:(Ljava/lang/String;)V
11: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 8
start local 8 12: aload 0
aload 8
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getService:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Service;
astore 9
start local 9 13: aload 9
aload 7
invokeinterface org.apache.catalina.Service.addConnector:(Lorg/apache/catalina/connector/Connector;)V
14: aload 7
invokevirtual org.apache.catalina.connector.Connector.getObjectName:()Ljavax/management/ObjectName;
astore 10
start local 10 15: aload 10
invokevirtual javax.management.ObjectName.toString:()Ljava/lang/String;
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 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 16 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 16 1 parent Ljava/lang/String;
0 16 2 address Ljava/lang/String;
0 16 3 port I
0 16 4 isAjp Z
0 16 5 isSSL Z
3 16 6 protocol Ljava/lang/String;
4 16 7 retobj Lorg/apache/catalina/connector/Connector;
12 16 8 pname Ljavax/management/ObjectName;
13 16 9 service Lorg/apache/catalina/Service;
15 16 10 coname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
address
port
isAjp
isSSL
public java.lang.String createHttpsConnector(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
iconst_0
iconst_1
invokevirtual org.apache.catalina.mbeans.MBeanFactory.createConnector:(Ljava/lang/String;Ljava/lang/String;IZZ)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 1 1 parent Ljava/lang/String;
0 1 2 address Ljava/lang/String;
0 1 3 port I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
address
port
public java.lang.String createJNDIRealm(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.catalina.realm.JNDIRealm
dup
invokespecial org.apache.catalina.realm.JNDIRealm.<init>:()V
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.addRealmToParent:(Ljava/lang/String;Lorg/apache/catalina/Realm;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 2 1 parent Ljava/lang/String;
1 2 2 realm Lorg/apache/catalina/realm/JNDIRealm;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
public java.lang.String createMemoryRealm(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.catalina.realm.MemoryRealm
dup
invokespecial org.apache.catalina.realm.MemoryRealm.<init>:()V
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.addRealmToParent:(Ljava/lang/String;Lorg/apache/catalina/Realm;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 2 1 parent Ljava/lang/String;
1 2 2 realm Lorg/apache/catalina/realm/MemoryRealm;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
public java.lang.String createStandardContext(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_0
iconst_0
invokevirtual org.apache.catalina.mbeans.MBeanFactory.createStandardContext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 1 1 parent Ljava/lang/String;
0 1 2 path Ljava/lang/String;
0 1 3 docBase Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
path
docBase
public java.lang.String createStandardContext(java.lang.String, java.lang.String, java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=14, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new org.apache.catalina.core.StandardContext
dup
invokespecial org.apache.catalina.core.StandardContext.<init>:()V
astore 6
start local 6 1: aload 0
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getPathStr:(Ljava/lang/String;)Ljava/lang/String;
astore 2
2: aload 6
aload 2
invokevirtual org.apache.catalina.core.StandardContext.setPath:(Ljava/lang/String;)V
3: aload 6
aload 3
invokevirtual org.apache.catalina.core.StandardContext.setDocBase:(Ljava/lang/String;)V
4: aload 6
iload 4
invokevirtual org.apache.catalina.core.StandardContext.setXmlValidation:(Z)V
5: aload 6
iload 5
invokevirtual org.apache.catalina.core.StandardContext.setXmlNamespaceAware:(Z)V
6: new org.apache.catalina.startup.ContextConfig
dup
invokespecial org.apache.catalina.startup.ContextConfig.<init>:()V
astore 7
start local 7 7: aload 6
aload 7
invokevirtual org.apache.catalina.core.StandardContext.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
8: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 8
start local 8 9: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 8
invokevirtual javax.management.ObjectName.getDomain:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: ldc ":type=Deployer,host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: aload 8
ldc "host"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
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 9
start local 9 13: getstatic org.apache.catalina.mbeans.MBeanFactory.mserver:Ljavax/management/MBeanServer;
aload 9
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 35
14: aload 6
invokevirtual org.apache.catalina.core.StandardContext.getName:()Ljava/lang/String;
astore 10
start local 10 15: getstatic org.apache.catalina.mbeans.MBeanFactory.mserver:Ljavax/management/MBeanServer;
aload 9
ldc "addServiced"
16: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
17: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
18: invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
19: getstatic org.apache.catalina.mbeans.MBeanFactory.mserver:Ljavax/management/MBeanServer;
aload 9
20: ldc "configBaseName"
21: invokeinterface javax.management.MBeanServer.getAttribute:(Ljavax/management/ObjectName;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 22: aload 6
invokevirtual org.apache.catalina.core.StandardContext.getBaseName:()Ljava/lang/String;
astore 12
start local 12 23: new java.io.File
dup
new java.io.File
dup
aload 11
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
new java.lang.StringBuilder
dup
aload 12
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".xml"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 13
start local 13 24: aload 13
invokevirtual java.io.File.isFile:()Z
ifeq 26
25: aload 6
aload 13
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokevirtual org.apache.catalina.core.StandardContext.setConfigFile:(Ljava/net/URL;)V
26: StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String java.lang.String java.lang.String int int org.apache.catalina.core.StandardContext org.apache.catalina.startup.ContextConfig javax.management.ObjectName javax.management.ObjectName java.lang.String java.lang.String java.lang.String java.io.File
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanFactory.mserver:Ljavax/management/MBeanServer;
aload 9
ldc "manageApp"
27: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
28: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "org.apache.catalina.Context"
aastore
29: invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
30: getstatic org.apache.catalina.mbeans.MBeanFactory.mserver:Ljavax/management/MBeanServer;
aload 9
ldc "removeServiced"
31: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
32: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
33: invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
end local 13 end local 12 end local 11 end local 10 34: goto 40
35: StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String java.lang.String java.lang.String int int org.apache.catalina.core.StandardContext org.apache.catalina.startup.ContextConfig javax.management.ObjectName javax.management.ObjectName
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanFactory.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mbeans.MBeanFactory.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanFactory.noDeployer"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8
ldc "host"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)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.warn:(Ljava/lang/Object;)V
36: aload 0
aload 8
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getService:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Service;
astore 10
start local 10 37: aload 10
invokeinterface org.apache.catalina.Service.getContainer:()Lorg/apache/catalina/Engine;
astore 11
start local 11 38: aload 11
aload 8
ldc "host"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.catalina.Engine.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Host
astore 12
start local 12 39: aload 12
aload 6
invokeinterface org.apache.catalina.Host.addChild:(Lorg/apache/catalina/Container;)V
end local 12 end local 11 end local 10 40: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.apache.catalina.core.StandardContext.getObjectName:()Ljavax/management/ObjectName;
invokevirtual javax.management.ObjectName.toString:()Ljava/lang/String;
areturn
end local 9 end local 8 end local 7 end local 6 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 41 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 41 1 parent Ljava/lang/String;
0 41 2 path Ljava/lang/String;
0 41 3 docBase Ljava/lang/String;
0 41 4 xmlValidation Z
0 41 5 xmlNamespaceAware Z
1 41 6 context Lorg/apache/catalina/core/StandardContext;
7 41 7 contextConfig Lorg/apache/catalina/startup/ContextConfig;
9 41 8 pname Ljavax/management/ObjectName;
13 41 9 deployer Ljavax/management/ObjectName;
15 34 10 contextName Ljava/lang/String;
22 34 11 configPath Ljava/lang/String;
23 34 12 baseName Ljava/lang/String;
24 34 13 configFile Ljava/io/File;
37 40 10 service Lorg/apache/catalina/Service;
38 40 11 engine Lorg/apache/catalina/Engine;
39 40 12 host Lorg/apache/catalina/Host;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
path
docBase
xmlValidation
xmlNamespaceAware
public java.lang.String createStandardHost(java.lang.String, java.lang.String, java.lang.String, boolean, boolean, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=13, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: new org.apache.catalina.core.StandardHost
dup
invokespecial org.apache.catalina.core.StandardHost.<init>:()V
astore 8
start local 8 1: aload 8
aload 2
invokevirtual org.apache.catalina.core.StandardHost.setName:(Ljava/lang/String;)V
2: aload 8
aload 3
invokevirtual org.apache.catalina.core.StandardHost.setAppBase:(Ljava/lang/String;)V
3: aload 8
iload 4
invokevirtual org.apache.catalina.core.StandardHost.setAutoDeploy:(Z)V
4: aload 8
iload 5
invokevirtual org.apache.catalina.core.StandardHost.setDeployOnStartup:(Z)V
5: aload 8
iload 6
invokevirtual org.apache.catalina.core.StandardHost.setDeployXML:(Z)V
6: aload 8
iload 7
invokevirtual org.apache.catalina.core.StandardHost.setUnpackWARs:(Z)V
7: new org.apache.catalina.startup.HostConfig
dup
invokespecial org.apache.catalina.startup.HostConfig.<init>:()V
astore 9
start local 9 8: aload 8
aload 9
invokevirtual org.apache.catalina.core.StandardHost.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
9: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 10
start local 10 10: aload 0
aload 10
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getService:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Service;
astore 11
start local 11 11: aload 11
invokeinterface org.apache.catalina.Service.getContainer:()Lorg/apache/catalina/Engine;
astore 12
start local 12 12: aload 12
aload 8
invokeinterface org.apache.catalina.Engine.addChild:(Lorg/apache/catalina/Container;)V
13: aload 8
invokevirtual org.apache.catalina.core.StandardHost.getObjectName:()Ljavax/management/ObjectName;
invokevirtual javax.management.ObjectName.toString:()Ljava/lang/String;
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 14 1 parent Ljava/lang/String;
0 14 2 name Ljava/lang/String;
0 14 3 appBase Ljava/lang/String;
0 14 4 autoDeploy Z
0 14 5 deployOnStartup Z
0 14 6 deployXML Z
0 14 7 unpackWARs Z
1 14 8 host Lorg/apache/catalina/core/StandardHost;
8 14 9 hostConfig Lorg/apache/catalina/startup/HostConfig;
10 14 10 pname Ljavax/management/ObjectName;
11 14 11 service Lorg/apache/catalina/Service;
12 14 12 engine Lorg/apache/catalina/Engine;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
name
appBase
autoDeploy
deployOnStartup
deployXML
unpackWARs
public java.lang.String createStandardServiceEngine(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.catalina.mbeans.MBeanFactory.container:Ljava/lang/Object;
instanceof org.apache.catalina.Server
ifne 2
1: new java.lang.Exception
dup
getstatic org.apache.catalina.mbeans.MBeanFactory.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanFactory.notServer"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.catalina.core.StandardEngine
dup
invokespecial org.apache.catalina.core.StandardEngine.<init>:()V
astore 4
start local 4 3: aload 4
aload 1
invokevirtual org.apache.catalina.core.StandardEngine.setDomain:(Ljava/lang/String;)V
4: aload 4
aload 1
invokevirtual org.apache.catalina.core.StandardEngine.setName:(Ljava/lang/String;)V
5: aload 4
aload 2
invokevirtual org.apache.catalina.core.StandardEngine.setDefaultHost:(Ljava/lang/String;)V
6: new org.apache.catalina.core.StandardService
dup
invokespecial org.apache.catalina.core.StandardService.<init>:()V
astore 5
start local 5 7: aload 5
aload 4
invokeinterface org.apache.catalina.Service.setContainer:(Lorg/apache/catalina/Engine;)V
8: aload 5
aload 1
invokeinterface org.apache.catalina.Service.setName:(Ljava/lang/String;)V
9: aload 0
getfield org.apache.catalina.mbeans.MBeanFactory.container:Ljava/lang/Object;
checkcast org.apache.catalina.Server
aload 5
invokeinterface org.apache.catalina.Server.addService:(Lorg/apache/catalina/Service;)V
10: aload 4
invokevirtual org.apache.catalina.core.StandardEngine.getObjectName:()Ljavax/management/ObjectName;
invokevirtual javax.management.ObjectName.toString:()Ljava/lang/String;
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 11 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 11 1 domain Ljava/lang/String;
0 11 2 defaultHost Ljava/lang/String;
0 11 3 baseDir Ljava/lang/String;
3 11 4 engine Lorg/apache/catalina/core/StandardEngine;
7 11 5 service Lorg/apache/catalina/Service;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
domain
defaultHost
baseDir
public java.lang.String createStandardManager(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new org.apache.catalina.session.StandardManager
dup
invokespecial org.apache.catalina.session.StandardManager.<init>:()V
astore 2
start local 2 1: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getParentContainerFromParent:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Container;
astore 4
start local 4 3: aload 4
instanceof org.apache.catalina.Context
ifeq 6
4: aload 4
checkcast org.apache.catalina.Context
aload 2
invokeinterface org.apache.catalina.Context.setManager:(Lorg/apache/catalina/Manager;)V
5: goto 7
6: StackMap locals: org.apache.catalina.session.StandardManager javax.management.ObjectName org.apache.catalina.Container
StackMap stack:
new java.lang.Exception
dup
getstatic org.apache.catalina.mbeans.MBeanFactory.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanFactory.managerContext"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.catalina.session.StandardManager.getObjectName:()Ljavax/management/ObjectName;
astore 5
start local 5 8: aload 5
ifnull 10
9: aload 5
invokevirtual javax.management.ObjectName.toString:()Ljava/lang/String;
areturn
10: StackMap locals: javax.management.ObjectName
StackMap stack:
aconst_null
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 11 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 11 1 parent Ljava/lang/String;
1 11 2 manager Lorg/apache/catalina/session/StandardManager;
2 11 3 pname Ljavax/management/ObjectName;
3 11 4 container Lorg/apache/catalina/Container;
8 11 5 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
public java.lang.String createUserDatabaseRealm(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.catalina.realm.UserDatabaseRealm
dup
invokespecial org.apache.catalina.realm.UserDatabaseRealm.<init>:()V
astore 3
start local 3 1: aload 3
aload 2
invokevirtual org.apache.catalina.realm.UserDatabaseRealm.setResourceName:(Ljava/lang/String;)V
2: aload 0
aload 1
aload 3
invokevirtual org.apache.catalina.mbeans.MBeanFactory.addRealmToParent:(Ljava/lang/String;Lorg/apache/catalina/Realm;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 3 1 parent Ljava/lang/String;
0 3 2 resourceName Ljava/lang/String;
1 3 3 realm Lorg/apache/catalina/realm/UserDatabaseRealm;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
resourceName
public java.lang.String createValve(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new javax.management.ObjectName
dup
aload 2
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: aload 0
aload 3
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getParentContainerFromParent:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Container;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
4: StackMap locals: javax.management.ObjectName org.apache.catalina.Container
StackMap stack:
aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.Valve
astore 5
start local 5 5: aload 4
invokeinterface org.apache.catalina.Container.getPipeline:()Lorg/apache/catalina/Pipeline;
aload 5
invokeinterface org.apache.catalina.Pipeline.addValve:(Lorg/apache/catalina/Valve;)V
6: aload 5
instanceof org.apache.catalina.JmxEnabled
ifeq 8
7: aload 5
checkcast org.apache.catalina.JmxEnabled
invokeinterface org.apache.catalina.JmxEnabled.getObjectName:()Ljavax/management/ObjectName;
invokevirtual javax.management.ObjectName.toString:()Ljava/lang/String;
areturn
8: StackMap locals: org.apache.catalina.Valve
StackMap stack:
aconst_null
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 9 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 9 1 className Ljava/lang/String;
0 9 2 parent Ljava/lang/String;
1 9 3 parentName Ljavax/management/ObjectName;
2 9 4 container Lorg/apache/catalina/Container;
5 9 5 valve Lorg/apache/catalina/Valve;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
className
parent
public java.lang.String createWebappLoader(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new org.apache.catalina.loader.WebappLoader
dup
invokespecial org.apache.catalina.loader.WebappLoader.<init>:()V
astore 2
start local 2 1: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getParentContainerFromParent:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Container;
astore 4
start local 4 3: aload 4
instanceof org.apache.catalina.Context
ifeq 5
4: aload 4
checkcast org.apache.catalina.Context
aload 2
invokeinterface org.apache.catalina.Context.setLoader:(Lorg/apache/catalina/Loader;)V
5: StackMap locals: org.apache.catalina.loader.WebappLoader javax.management.ObjectName org.apache.catalina.Container
StackMap stack:
aload 3
invokevirtual javax.management.ObjectName.getDomain:()Ljava/lang/String;
aload 2
invokestatic org.apache.catalina.mbeans.MBeanUtils.createObjectName:(Ljava/lang/String;Lorg/apache/catalina/Loader;)Ljavax/management/ObjectName;
6: astore 5
start local 5 7: aload 5
invokevirtual javax.management.ObjectName.toString:()Ljava/lang/String;
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 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 8 1 parent Ljava/lang/String;
1 8 2 loader Lorg/apache/catalina/loader/WebappLoader;
2 8 3 pname Ljavax/management/ObjectName;
3 8 4 container Lorg/apache/catalina/Container;
7 8 5 oname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parent
public void removeConnector(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=14, args_size=2
start local 0 start local 1 0: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getService:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Service;
astore 3
start local 3 2: aload 2
ldc "port"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 3: aload 2
ldc "address"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 5
invokestatic javax.management.ObjectName.unquote:(Ljava/lang/String;)Ljava/lang/String;
astore 5
6: StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String javax.management.ObjectName org.apache.catalina.Service java.lang.String java.lang.String
StackMap stack:
aload 3
invokeinterface org.apache.catalina.Service.findConnectors:()[Lorg/apache/catalina/connector/Connector;
astore 6
start local 6 7: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 24
StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String javax.management.ObjectName org.apache.catalina.Service java.lang.String java.lang.String org.apache.catalina.connector.Connector[] top int int org.apache.catalina.connector.Connector[]
StackMap stack:
8: aload 10
iload 8
aaload
astore 7
start local 7 9: aconst_null
astore 11
start local 11 10: aload 7
ldc "address"
invokevirtual org.apache.catalina.connector.Connector.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
astore 12
start local 12 11: aload 12
ifnull 13
12: aload 12
checkcast java.net.InetAddress
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 11
13: StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String javax.management.ObjectName org.apache.catalina.Service java.lang.String java.lang.String org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] java.lang.String java.lang.Object
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 7
invokevirtual org.apache.catalina.connector.Connector.getPortWithOffset:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
start local 13 14: aload 5
ifnonnull 19
15: aload 11
ifnonnull 23
aload 4
aload 13
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
16: aload 3
aload 7
invokeinterface org.apache.catalina.Service.removeConnector:(Lorg/apache/catalina/connector/Connector;)V
17: aload 7
invokevirtual org.apache.catalina.connector.Connector.destroy:()V
18: goto 25
19: StackMap locals: java.lang.String
StackMap stack:
aload 5
aload 11
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
aload 4
aload 13
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
20: aload 3
aload 7
invokeinterface org.apache.catalina.Service.removeConnector:(Lorg/apache/catalina/connector/Connector;)V
21: aload 7
invokevirtual org.apache.catalina.connector.Connector.destroy:()V
22: goto 25
end local 13 end local 12 end local 11 end local 7 23: StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String javax.management.ObjectName org.apache.catalina.Service java.lang.String java.lang.String org.apache.catalina.connector.Connector[] top int int org.apache.catalina.connector.Connector[]
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
24: iload 8
iload 9
if_icmplt 8
25: StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String javax.management.ObjectName org.apache.catalina.Service java.lang.String java.lang.String org.apache.catalina.connector.Connector[]
StackMap stack:
return
end local 6 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 26 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 26 1 name Ljava/lang/String;
1 26 2 oname Ljavax/management/ObjectName;
2 26 3 service Lorg/apache/catalina/Service;
3 26 4 port Ljava/lang/String;
4 26 5 address Ljava/lang/String;
7 26 6 conns [Lorg/apache/catalina/connector/Connector;
9 23 7 conn Lorg/apache/catalina/connector/Connector;
10 23 11 connAddress Ljava/lang/String;
11 23 12 objConnAddress Ljava/lang/Object;
14 23 13 connPort Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
public void removeContext(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=15, args_size=2
start local 0 start local 1 0: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
invokevirtual javax.management.ObjectName.getDomain:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getService:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Service;
checkcast org.apache.catalina.core.StandardService
astore 4
start local 4 3: aload 4
invokevirtual org.apache.catalina.core.StandardService.getContainer:()Lorg/apache/catalina/Engine;
astore 5
start local 5 4: aload 2
ldc "name"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 5: aload 6
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
6: aload 6
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 7: aload 6
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 8: aload 6
iload 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 9
start local 9 9: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=Deployer,host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 10
start local 10 12: aload 0
aload 9
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getPathStr:(Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 13: getstatic org.apache.catalina.mbeans.MBeanFactory.mserver:Ljavax/management/MBeanServer;
aload 10
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 27
14: getstatic org.apache.catalina.mbeans.MBeanFactory.mserver:Ljavax/management/MBeanServer;
aload 10
ldc "addServiced"
15: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
16: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
17: invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
18: getstatic org.apache.catalina.mbeans.MBeanFactory.mserver:Ljavax/management/MBeanServer;
aload 10
ldc "unmanageApp"
19: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
20: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
21: invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
22: getstatic org.apache.catalina.mbeans.MBeanFactory.mserver:Ljavax/management/MBeanServer;
aload 10
ldc "removeServiced"
23: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
24: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
25: invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
26: goto 36
27: StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String javax.management.ObjectName java.lang.String org.apache.catalina.core.StandardService org.apache.catalina.Engine java.lang.String int java.lang.String java.lang.String javax.management.ObjectName java.lang.String
StackMap stack:
getstatic org.apache.catalina.mbeans.MBeanFactory.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mbeans.MBeanFactory.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanFactory.noDeployer"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
28: aload 5
aload 8
invokeinterface org.apache.catalina.Engine.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Host
astore 12
start local 12 29: aload 12
aload 11
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 13
start local 13 30: aload 12
aload 13
invokeinterface org.apache.catalina.Host.removeChild:(Lorg/apache/catalina/Container;)V
31: aload 13
instanceof org.apache.catalina.core.StandardContext
ifeq 36
32: aload 13
invokeinterface org.apache.catalina.Context.destroy:()V
33: goto 36
StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String javax.management.ObjectName java.lang.String org.apache.catalina.core.StandardService org.apache.catalina.Engine java.lang.String int java.lang.String java.lang.String javax.management.ObjectName java.lang.String org.apache.catalina.Host org.apache.catalina.Context
StackMap stack: java.lang.Exception
34: astore 14
start local 14 35: getstatic org.apache.catalina.mbeans.MBeanFactory.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mbeans.MBeanFactory.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mBeanFactory.contextDestroyError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 14
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 14 end local 13 end local 12 36: StackMap locals:
StackMap stack:
return
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 37 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 37 1 contextName Ljava/lang/String;
1 37 2 oname Ljavax/management/ObjectName;
2 37 3 domain Ljava/lang/String;
3 37 4 service Lorg/apache/catalina/core/StandardService;
4 37 5 engine Lorg/apache/catalina/Engine;
5 37 6 name Ljava/lang/String;
7 37 7 i I
8 37 8 hostName Ljava/lang/String;
9 37 9 path Ljava/lang/String;
12 37 10 deployer Ljavax/management/ObjectName;
13 37 11 pathStr Ljava/lang/String;
29 36 12 host Lorg/apache/catalina/Host;
30 36 13 context Lorg/apache/catalina/Context;
35 36 14 e Ljava/lang/Exception;
Exception table:
from to target type
32 33 34 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
contextName
public void removeHost(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
ldc "host"
invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getService:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Service;
astore 4
start local 4 3: aload 4
invokeinterface org.apache.catalina.Service.getContainer:()Lorg/apache/catalina/Engine;
astore 5
start local 5 4: aload 5
aload 3
invokeinterface org.apache.catalina.Engine.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Host
astore 6
start local 6 5: aload 6
ifnull 7
6: aload 5
aload 6
invokeinterface org.apache.catalina.Engine.removeChild:(Lorg/apache/catalina/Container;)V
7: StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String javax.management.ObjectName java.lang.String org.apache.catalina.Service org.apache.catalina.Engine org.apache.catalina.Host
StackMap stack:
return
end local 6 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 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 8 1 name Ljava/lang/String;
1 8 2 oname Ljavax/management/ObjectName;
2 8 3 hostName Ljava/lang/String;
3 8 4 service Lorg/apache/catalina/Service;
4 8 5 engine Lorg/apache/catalina/Engine;
5 8 6 host Lorg/apache/catalina/Host;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
public void removeLoader(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getParentContainerFromChild:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Container;
astore 3
start local 3 2: aload 3
instanceof org.apache.catalina.Context
ifeq 4
3: aload 3
checkcast org.apache.catalina.Context
aconst_null
invokeinterface org.apache.catalina.Context.setLoader:(Lorg/apache/catalina/Loader;)V
4: StackMap locals: javax.management.ObjectName org.apache.catalina.Container
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 5 1 name Ljava/lang/String;
1 5 2 oname Ljavax/management/ObjectName;
2 5 3 container Lorg/apache/catalina/Container;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
public void removeManager(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getParentContainerFromChild:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Container;
astore 3
start local 3 2: aload 3
instanceof org.apache.catalina.Context
ifeq 4
3: aload 3
checkcast org.apache.catalina.Context
aconst_null
invokeinterface org.apache.catalina.Context.setManager:(Lorg/apache/catalina/Manager;)V
4: StackMap locals: javax.management.ObjectName org.apache.catalina.Container
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 5 1 name Ljava/lang/String;
1 5 2 oname Ljavax/management/ObjectName;
2 5 3 container Lorg/apache/catalina/Container;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
public void removeRealm(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getParentContainerFromChild:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Container;
astore 3
start local 3 2: aload 3
aconst_null
invokeinterface org.apache.catalina.Container.setRealm:(Lorg/apache/catalina/Realm;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 4 1 name Ljava/lang/String;
1 4 2 oname Ljavax/management/ObjectName;
2 4 3 container Lorg/apache/catalina/Container;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
public void removeService(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.mbeans.MBeanFactory.container:Ljava/lang/Object;
instanceof org.apache.catalina.Server
ifne 2
1: new java.lang.Exception
dup
invokespecial java.lang.Exception.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getService:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Service;
astore 3
start local 3 4: aload 0
getfield org.apache.catalina.mbeans.MBeanFactory.container:Ljava/lang/Object;
checkcast org.apache.catalina.Server
aload 3
invokeinterface org.apache.catalina.Server.removeService:(Lorg/apache/catalina/Service;)V
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/mbeans/MBeanFactory;
0 6 1 name Ljava/lang/String;
3 6 2 oname Ljavax/management/ObjectName;
4 6 3 service Lorg/apache/catalina/Service;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
public void removeValve(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.apache.catalina.mbeans.MBeanFactory.getParentContainerFromChild:(Ljavax/management/ObjectName;)Lorg/apache/catalina/Container;
astore 3
start local 3 2: aload 3
invokeinterface org.apache.catalina.Container.getPipeline:()Lorg/apache/catalina/Pipeline;
invokeinterface org.apache.catalina.Pipeline.getValves:()[Lorg/apache/catalina/Valve;
astore 4
start local 4 3: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 9
StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.String javax.management.ObjectName org.apache.catalina.Container org.apache.catalina.Valve[] top int int org.apache.catalina.Valve[]
StackMap stack:
4: aload 8
iload 6
aaload
astore 5
start local 5 5: aload 5
checkcast org.apache.catalina.JmxEnabled
invokeinterface org.apache.catalina.JmxEnabled.getObjectName:()Ljavax/management/ObjectName;
astore 9
start local 9 6: aload 9
aload 2
invokevirtual javax.management.ObjectName.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 3
invokeinterface org.apache.catalina.Container.getPipeline:()Lorg/apache/catalina/Pipeline;
aload 5
invokeinterface org.apache.catalina.Pipeline.removeValve:(Lorg/apache/catalina/Valve;)V
end local 9 end local 5 8: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
iload 7
if_icmplt 4
10: 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 this Lorg/apache/catalina/mbeans/MBeanFactory;
0 11 1 name Ljava/lang/String;
1 11 2 oname Ljavax/management/ObjectName;
2 11 3 container Lorg/apache/catalina/Container;
3 11 4 valves [Lorg/apache/catalina/Valve;
5 8 5 valve Lorg/apache/catalina/Valve;
6 8 9 voname Ljavax/management/ObjectName;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
}
SourceFile: "MBeanFactory.java"