public class org.apache.catalina.deploy.NamingResourcesImpl extends org.apache.catalina.util.LifecycleMBeanBase implements java.io.Serializable, org.apache.tomcat.util.descriptor.web.NamingResources
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.deploy.NamingResourcesImpl
super_class: org.apache.catalina.util.LifecycleMBeanBase
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private volatile boolean resourceRequireExplicitRegistration;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private java.lang.Object container;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private final java.util.Set<java.lang.String> entries;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Map<java.lang.String, org.apache.tomcat.util.descriptor.web.ContextEjb> ejbs;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextEjb;>;
private final java.util.Map<java.lang.String, org.apache.tomcat.util.descriptor.web.ContextEnvironment> envs;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;>;
private final java.util.Map<java.lang.String, org.apache.tomcat.util.descriptor.web.ContextLocalEjb> localEjbs;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextLocalEjb;>;
private final java.util.Map<java.lang.String, org.apache.tomcat.util.descriptor.web.MessageDestinationRef> mdrs;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/MessageDestinationRef;>;
private final java.util.HashMap<java.lang.String, org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef> resourceEnvRefs;
descriptor: Ljava/util/HashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextResourceEnvRef;>;
private final java.util.HashMap<java.lang.String, org.apache.tomcat.util.descriptor.web.ContextResource> resources;
descriptor: Ljava/util/HashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextResource;>;
private final java.util.HashMap<java.lang.String, org.apache.tomcat.util.descriptor.web.ContextResourceLink> resourceLinks;
descriptor: Ljava/util/HashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;>;
private final java.util.HashMap<java.lang.String, org.apache.tomcat.util.descriptor.web.ContextService> services;
descriptor: Ljava/util/HashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ContextService;>;
private org.apache.tomcat.util.descriptor.web.ContextTransaction transaction;
descriptor: Lorg/apache/tomcat/util/descriptor/web/ContextTransaction;
flags: (0x0002) ACC_PRIVATE
protected final java.beans.PropertyChangeSupport support;
descriptor: Ljava/beans/PropertyChangeSupport;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/deploy/NamingResourcesImpl;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
1: ldc Lorg/apache/catalina/deploy/NamingResourcesImpl;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.util.LifecycleMBeanBase.<init>:()V
1: aload 0
iconst_0
putfield org.apache.catalina.deploy.NamingResourcesImpl.resourceRequireExplicitRegistration:Z
2: aload 0
aconst_null
putfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.deploy.NamingResourcesImpl.ejbs:Ljava/util/Map;
5: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
6: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.deploy.NamingResourcesImpl.localEjbs:Ljava/util/Map;
7: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.deploy.NamingResourcesImpl.mdrs:Ljava/util/Map;
8: aload 0
9: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.deploy.NamingResourcesImpl.resourceEnvRefs:Ljava/util/HashMap;
10: aload 0
11: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
12: aload 0
13: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
14: aload 0
15: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.deploy.NamingResourcesImpl.services:Ljava/util/HashMap;
16: aload 0
aconst_null
putfield org.apache.catalina.deploy.NamingResourcesImpl.transaction:Lorg/apache/tomcat/util/descriptor/web/ContextTransaction;
17: aload 0
18: new java.beans.PropertyChangeSupport
dup
aload 0
invokespecial java.beans.PropertyChangeSupport.<init>:(Ljava/lang/Object;)V
putfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
19: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
public java.lang.Object getContainer();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
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.deploy.NamingResourcesImpl.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/deploy/NamingResourcesImpl;
0 2 1 container Ljava/lang/Object;
MethodParameters:
Name Flags
container
public void setTransaction(org.apache.tomcat.util.descriptor.web.ContextTransaction);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextTransaction;)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.deploy.NamingResourcesImpl.transaction:Lorg/apache/tomcat/util/descriptor/web/ContextTransaction;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 2 1 transaction Lorg/apache/tomcat/util/descriptor/web/ContextTransaction;
MethodParameters:
Name Flags
transaction
public org.apache.tomcat.util.descriptor.web.ContextTransaction getTransaction();
descriptor: ()Lorg/apache/tomcat/util/descriptor/web/ContextTransaction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.transaction:Lorg/apache/tomcat/util/descriptor/web/ContextTransaction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
public void addEjb(org.apache.tomcat.util.descriptor.web.ContextEjb);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextEjb;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEjb.getLink:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEjb.getLookupName:()Ljava/lang/String;
astore 3
start local 3 2: aload 2
ifnull 6
aload 2
invokevirtual java.lang.String.length:()I
ifle 6
aload 3
ifnull 6
aload 3
invokevirtual java.lang.String.length:()I
ifle 6
3: new java.lang.IllegalArgumentException
dup
4: getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.ejbLookupLink"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEjb.getName:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEjb.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 8
7: return
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEjb.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.ejbs:Ljava/util/Map;
dup
astore 4
monitorenter
10: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEjb.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
11: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.ejbs:Ljava/util/Map;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEjb.getName:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 4
monitorexit
13: goto 16
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextEjb java.lang.String java.lang.String java.util.Map
StackMap stack: java.lang.Throwable
14: aload 4
monitorexit
15: athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "ejb"
aconst_null
aload 1
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 18 1 ejb Lorg/apache/tomcat/util/descriptor/web/ContextEjb;
1 18 2 ejbLink Ljava/lang/String;
2 18 3 lookupName Ljava/lang/String;
Exception table:
from to target type
10 13 14 any
14 15 14 any
MethodParameters:
Name Flags
ejb
public void addEnvironment(org.apache.tomcat.util.descriptor.web.ContextEnvironment);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 16
1: aload 0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.findEnvironment:(Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
astore 2
start local 2 2: aload 0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.findResourceLink:(Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
astore 3
start local 3 3: aload 2
ifnull 8
4: aload 2
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getOverride:()Z
ifeq 7
5: aload 0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.removeEnvironment:(Ljava/lang/String;)V
6: goto 16
7: StackMap locals: org.apache.tomcat.util.descriptor.web.ContextEnvironment org.apache.tomcat.util.descriptor.web.ContextResourceLink
StackMap stack:
return
8: StackMap locals:
StackMap stack:
aload 3
ifnull 15
9: aload 0
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.getServer:()Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.getGlobalNamingResources:()Lorg/apache/catalina/deploy/NamingResourcesImpl;
astore 4
start local 4 10: aload 4
aload 3
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getGlobal:()Ljava/lang/String;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.findEnvironment:(Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
ifnull 16
11: aload 4
aload 3
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getGlobal:()Ljava/lang/String;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.findEnvironment:(Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getOverride:()Z
ifeq 14
12: aload 0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.removeResourceLink:(Ljava/lang/String;)V
13: goto 16
14: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl
StackMap stack:
return
end local 4 15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 16: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getInjectionTargets:()Ljava/util/List;
astore 2
start local 2 17: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getValue:()Ljava/lang/String;
astore 3
start local 3 18: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getLookupName:()Ljava/lang/String;
astore 4
start local 4 19: aload 2
ifnull 22
aload 2
invokeinterface java.util.List.size:()I
ifle 22
20: aload 3
ifnull 21
aload 3
invokevirtual java.lang.String.length:()I
ifne 22
21: StackMap locals: java.util.List java.lang.String java.lang.String
StackMap stack:
return
22: StackMap locals:
StackMap stack:
aload 3
ifnull 26
aload 3
invokevirtual java.lang.String.length:()I
ifle 26
aload 4
ifnull 26
aload 4
invokevirtual java.lang.String.length:()I
ifle 26
23: new java.lang.IllegalArgumentException
dup
24: getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.envEntryLookupValue"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
25: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.checkResourceType:(Lorg/apache/tomcat/util/descriptor/web/ResourceBase;)Z
ifne 31
27: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
28: ldc "namingResources.resourceTypeFail"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
aastore
dup
iconst_1
29: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getType:()Ljava/lang/String;
aastore
30: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
32: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
dup
astore 5
monitorenter
33: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
34: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
35: aload 5
monitorexit
36: goto 39
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextEnvironment java.util.List java.lang.String java.lang.String java.util.Map
StackMap stack: java.lang.Throwable
37: aload 5
monitorexit
38: athrow
39: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "environment"
aconst_null
aload 1
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
40: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceRequireExplicitRegistration:Z
ifeq 49
41: aload 1
invokestatic org.apache.catalina.mbeans.MBeanUtils.createMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;)Ljavax/management/DynamicMBean;
pop
42: goto 49
StackMap locals:
StackMap stack: java.lang.Exception
43: astore 5
start local 5 44: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.mbeanCreateFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
45: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
aastore
46: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
47: aload 5
48: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 5 49: StackMap locals:
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 50 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 50 1 environment Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
2 16 2 ce Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
3 16 3 rl Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
10 15 4 global Lorg/apache/catalina/deploy/NamingResourcesImpl;
17 50 2 injectionTargets Ljava/util/List<Lorg/apache/tomcat/util/descriptor/web/InjectionTarget;>;
18 50 3 value Ljava/lang/String;
19 50 4 lookupName Ljava/lang/String;
44 49 5 e Ljava/lang/Exception;
Exception table:
from to target type
33 36 37 any
37 38 37 any
41 42 43 Class java.lang.Exception
MethodParameters:
Name Flags
environment
private org.apache.catalina.Server getServer();
descriptor: ()Lorg/apache/catalina/Server;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
instanceof org.apache.catalina.Server
ifeq 2
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
checkcast org.apache.catalina.Server
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
instanceof org.apache.catalina.Context
ifeq 6
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
checkcast org.apache.catalina.Context
invokeinterface org.apache.catalina.Context.getParent:()Lorg/apache/catalina/Container;
invokeinterface org.apache.catalina.Container.getParent:()Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Engine
4: astore 1
start local 1 5: aload 1
invokeinterface org.apache.catalina.Engine.getService:()Lorg/apache/catalina/Service;
invokeinterface org.apache.catalina.Service.getServer:()Lorg/apache/catalina/Server;
areturn
end local 1 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
5 6 1 engine Lorg/apache/catalina/Engine;
public void addLocalEjb(org.apache.tomcat.util.descriptor.web.ContextLocalEjb);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextLocalEjb;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextLocalEjb.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextLocalEjb.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.localEjbs:Ljava/util/Map;
dup
astore 2
monitorenter
4: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextLocalEjb.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
5: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.localEjbs:Ljava/util/Map;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextLocalEjb.getName:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 2
monitorexit
7: goto 10
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextLocalEjb java.util.Map
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "localEjb"
aconst_null
aload 1
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 12 1 ejb Lorg/apache/tomcat/util/descriptor/web/ContextLocalEjb;
Exception table:
from to target type
4 7 8 any
8 9 8 any
MethodParameters:
Name Flags
ejb
public void addMessageDestinationRef(org.apache.tomcat.util.descriptor.web.MessageDestinationRef);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/MessageDestinationRef;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.MessageDestinationRef.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.checkResourceType:(Lorg/apache/tomcat/util/descriptor/web/ResourceBase;)Z
ifne 7
3: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
4: ldc "namingResources.resourceTypeFail"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.MessageDestinationRef.getName:()Ljava/lang/String;
aastore
dup
iconst_1
5: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.MessageDestinationRef.getType:()Ljava/lang/String;
aastore
6: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.MessageDestinationRef.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.mdrs:Ljava/util/Map;
dup
astore 2
monitorenter
9: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.MessageDestinationRef.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
10: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.mdrs:Ljava/util/Map;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.MessageDestinationRef.getName:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 2
monitorexit
12: goto 15
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.MessageDestinationRef java.util.Map
StackMap stack: java.lang.Throwable
13: aload 2
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "messageDestinationRef"
aconst_null
aload 1
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 17 1 mdr Lorg/apache/tomcat/util/descriptor/web/MessageDestinationRef;
Exception table:
from to target type
9 12 13 any
13 14 13 any
MethodParameters:
Name Flags
mdr
public void addPropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
aload 1
invokevirtual java.beans.PropertyChangeSupport.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 2 1 listener Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
listener
public void addResource(org.apache.tomcat.util.descriptor.web.ContextResource);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextResource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.checkResourceType:(Lorg/apache/tomcat/util/descriptor/web/ResourceBase;)Z
ifne 7
3: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
4: ldc "namingResources.resourceTypeFail"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
aastore
dup
iconst_1
5: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getType:()Ljava/lang/String;
aastore
6: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
dup
astore 2
monitorenter
9: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
10: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 2
monitorexit
12: goto 15
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextResource java.util.HashMap
StackMap stack: java.lang.Throwable
13: aload 2
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "resource"
aconst_null
aload 1
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
16: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceRequireExplicitRegistration:Z
ifeq 25
17: aload 1
invokestatic org.apache.catalina.mbeans.MBeanUtils.createMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextResource;)Ljavax/management/DynamicMBean;
pop
18: goto 25
StackMap locals:
StackMap stack: java.lang.Exception
19: astore 2
start local 2 20: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.mbeanCreateFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
21: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
aastore
22: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
23: aload 2
24: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 26 1 resource Lorg/apache/tomcat/util/descriptor/web/ContextResource;
20 25 2 e Ljava/lang/Exception;
Exception table:
from to target type
9 12 13 any
13 14 13 any
17 18 19 Class java.lang.Exception
MethodParameters:
Name Flags
resource
public void addResourceEnvRef(org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextResourceEnvRef;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.checkResourceType:(Lorg/apache/tomcat/util/descriptor/web/ResourceBase;)Z
ifne 7
3: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
4: ldc "namingResources.resourceTypeFail"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef.getName:()Ljava/lang/String;
aastore
dup
iconst_1
5: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef.getType:()Ljava/lang/String;
aastore
6: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceEnvRefs:Ljava/util/HashMap;
dup
astore 2
monitorenter
9: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
10: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceEnvRefs:Ljava/util/HashMap;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef.getName:()Ljava/lang/String;
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 2
monitorexit
12: goto 15
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef java.util.HashMap
StackMap stack: java.lang.Throwable
13: aload 2
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "resourceEnvRef"
aconst_null
aload 1
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 17 1 resource Lorg/apache/tomcat/util/descriptor/web/ContextResourceEnvRef;
Exception table:
from to target type
9 12 13 any
13 14 13 any
MethodParameters:
Name Flags
resource
public void addResourceLink(org.apache.tomcat.util.descriptor.web.ContextResourceLink);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
dup
astore 2
monitorenter
4: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
5: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getName:()Ljava/lang/String;
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 2
monitorexit
7: goto 10
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextResourceLink java.util.HashMap
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "resourceLink"
aconst_null
aload 1
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
11: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceRequireExplicitRegistration:Z
ifeq 20
12: aload 1
invokestatic org.apache.catalina.mbeans.MBeanUtils.createMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;)Ljavax/management/DynamicMBean;
pop
13: goto 20
StackMap locals:
StackMap stack: java.lang.Exception
14: astore 2
start local 2 15: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.mbeanCreateFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
16: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getName:()Ljava/lang/String;
aastore
17: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
18: aload 2
19: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 21 1 resourceLink Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
15 20 2 e Ljava/lang/Exception;
Exception table:
from to target type
4 7 8 any
8 9 8 any
12 13 14 Class java.lang.Exception
MethodParameters:
Name Flags
resourceLink
public void addService(org.apache.tomcat.util.descriptor.web.ContextService);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ContextService;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextService.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextService.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.services:Ljava/util/HashMap;
dup
astore 2
monitorenter
4: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextService.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
5: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.services:Ljava/util/HashMap;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextService.getName:()Ljava/lang/String;
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 2
monitorexit
7: goto 10
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextService java.util.HashMap
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "service"
aconst_null
aload 1
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 12 1 service Lorg/apache/tomcat/util/descriptor/web/ContextService;
Exception table:
from to target type
4 7 8 any
8 9 8 any
MethodParameters:
Name Flags
service
public org.apache.tomcat.util.descriptor.web.ContextEjb findEjb(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextEjb;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.ejbs:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.ejbs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextEjb
aload 2
monitorexit
2: areturn
3: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String java.util.Map
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 5 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.descriptor.web.ContextEjb[] findEjbs();
descriptor: ()[Lorg/apache/tomcat/util/descriptor/web/ContextEjb;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.ejbs:Ljava/util/Map;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.ejbs:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
anewarray org.apache.tomcat.util.descriptor.web.ContextEjb
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.ejbs:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextEjb[]
aload 1
monitorexit
3: areturn
end local 2 4: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.util.Map
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
2 4 2 results [Lorg/apache/tomcat/util/descriptor/web/ContextEjb;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public org.apache.tomcat.util.descriptor.web.ContextEnvironment findEnvironment(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextEnvironment
aload 2
monitorexit
2: areturn
3: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String java.util.Map
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 5 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.descriptor.web.ContextEnvironment[] findEnvironments();
descriptor: ()[Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
anewarray org.apache.tomcat.util.descriptor.web.ContextEnvironment
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextEnvironment[]
aload 1
monitorexit
3: areturn
end local 2 4: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.util.Map
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
2 4 2 results [Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public org.apache.tomcat.util.descriptor.web.ContextLocalEjb findLocalEjb(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextLocalEjb;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.localEjbs:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.localEjbs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextLocalEjb
aload 2
monitorexit
2: areturn
3: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String java.util.Map
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 5 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.descriptor.web.ContextLocalEjb[] findLocalEjbs();
descriptor: ()[Lorg/apache/tomcat/util/descriptor/web/ContextLocalEjb;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.localEjbs:Ljava/util/Map;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.localEjbs:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
anewarray org.apache.tomcat.util.descriptor.web.ContextLocalEjb
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.localEjbs:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextLocalEjb[]
aload 1
monitorexit
3: areturn
end local 2 4: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.util.Map
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
2 4 2 results [Lorg/apache/tomcat/util/descriptor/web/ContextLocalEjb;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public org.apache.tomcat.util.descriptor.web.MessageDestinationRef findMessageDestinationRef(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/MessageDestinationRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.mdrs:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.mdrs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.MessageDestinationRef
aload 2
monitorexit
2: areturn
3: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String java.util.Map
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 5 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.descriptor.web.MessageDestinationRef[] findMessageDestinationRefs();
descriptor: ()[Lorg/apache/tomcat/util/descriptor/web/MessageDestinationRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.mdrs:Ljava/util/Map;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.mdrs:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
anewarray org.apache.tomcat.util.descriptor.web.MessageDestinationRef
2: astore 2
start local 2 3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.mdrs:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.MessageDestinationRef[]
aload 1
monitorexit
4: areturn
end local 2 5: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.util.Map
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
3 5 2 results [Lorg/apache/tomcat/util/descriptor/web/MessageDestinationRef;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public org.apache.tomcat.util.descriptor.web.ContextResource findResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResource
aload 2
monitorexit
2: areturn
3: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String java.util.HashMap
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 5 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.descriptor.web.ContextResourceLink findResourceLink(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResourceLink
aload 2
monitorexit
2: areturn
3: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String java.util.HashMap
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 5 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.descriptor.web.ContextResourceLink[] findResourceLinks();
descriptor: ()[Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
invokevirtual java.util.HashMap.size:()I
anewarray org.apache.tomcat.util.descriptor.web.ContextResourceLink
2: astore 2
start local 2 3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResourceLink[]
aload 1
monitorexit
4: areturn
end local 2 5: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.util.HashMap
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
3 5 2 results [Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public org.apache.tomcat.util.descriptor.web.ContextResource[] findResources();
descriptor: ()[Lorg/apache/tomcat/util/descriptor/web/ContextResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
invokevirtual java.util.HashMap.size:()I
anewarray org.apache.tomcat.util.descriptor.web.ContextResource
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResource[]
aload 1
monitorexit
3: areturn
end local 2 4: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.util.HashMap
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
2 4 2 results [Lorg/apache/tomcat/util/descriptor/web/ContextResource;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef findResourceEnvRef(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextResourceEnvRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceEnvRefs:Ljava/util/HashMap;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceEnvRefs:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef
aload 2
monitorexit
2: areturn
3: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String java.util.HashMap
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 5 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef[] findResourceEnvRefs();
descriptor: ()[Lorg/apache/tomcat/util/descriptor/web/ContextResourceEnvRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceEnvRefs:Ljava/util/HashMap;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceEnvRefs:Ljava/util/HashMap;
invokevirtual java.util.HashMap.size:()I
anewarray org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceEnvRefs:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef[]
aload 1
monitorexit
3: areturn
end local 2 4: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.util.HashMap
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
2 4 2 results [Lorg/apache/tomcat/util/descriptor/web/ContextResourceEnvRef;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public org.apache.tomcat.util.descriptor.web.ContextService findService(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ContextService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.services:Ljava/util/HashMap;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.services:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextService
aload 2
monitorexit
2: areturn
3: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String java.util.HashMap
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 5 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.descriptor.web.ContextService[] findServices();
descriptor: ()[Lorg/apache/tomcat/util/descriptor/web/ContextService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.services:Ljava/util/HashMap;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.services:Ljava/util/HashMap;
invokevirtual java.util.HashMap.size:()I
anewarray org.apache.tomcat.util.descriptor.web.ContextService
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.services:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextService[]
aload 1
monitorexit
3: areturn
end local 2 4: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.util.HashMap
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
2 4 2 results [Lorg/apache/tomcat/util/descriptor/web/ContextService;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public void removeEjb(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: aconst_null
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.ejbs:Ljava/util/Map;
dup
astore 3
monitorenter
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.ejbs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextEjb
astore 2
4: aload 3
monitorexit
5: goto 8
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String org.apache.tomcat.util.descriptor.web.ContextEjb java.util.Map
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 2
ifnull 11
9: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "ejb"
aload 2
aconst_null
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
10: aload 2
aconst_null
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEjb.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 12 1 name Ljava/lang/String;
2 12 2 ejb Lorg/apache/tomcat/util/descriptor/web/ContextEjb;
Exception table:
from to target type
3 5 6 any
6 7 6 any
MethodParameters:
Name Flags
name
public void removeEnvironment(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: aconst_null
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
dup
astore 3
monitorenter
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextEnvironment
astore 2
4: aload 3
monitorexit
5: goto 8
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String org.apache.tomcat.util.descriptor.web.ContextEnvironment java.util.Map
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 2
ifnull 20
9: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "environment"
aload 2
aconst_null
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
10: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceRequireExplicitRegistration:Z
ifeq 19
11: aload 2
invokestatic org.apache.catalina.mbeans.MBeanUtils.destroyMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;)V
12: goto 19
StackMap locals:
StackMap stack: java.lang.Exception
13: astore 3
start local 3 14: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.mbeanDestroyFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
15: aload 2
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
aastore
16: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
17: aload 3
18: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 19: StackMap locals:
StackMap stack:
aload 2
aconst_null
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 21 1 name Ljava/lang/String;
2 21 2 environment Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
14 19 3 e Ljava/lang/Exception;
Exception table:
from to target type
3 5 6 any
6 7 6 any
11 12 13 Class java.lang.Exception
MethodParameters:
Name Flags
name
public void removeLocalEjb(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: aconst_null
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.localEjbs:Ljava/util/Map;
dup
astore 3
monitorenter
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.localEjbs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextLocalEjb
astore 2
4: aload 3
monitorexit
5: goto 8
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String org.apache.tomcat.util.descriptor.web.ContextLocalEjb java.util.Map
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 2
ifnull 11
9: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "localEjb"
aload 2
aconst_null
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
10: aload 2
aconst_null
invokevirtual org.apache.tomcat.util.descriptor.web.ContextLocalEjb.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 12 1 name Ljava/lang/String;
2 12 2 localEjb Lorg/apache/tomcat/util/descriptor/web/ContextLocalEjb;
Exception table:
from to target type
3 5 6 any
6 7 6 any
MethodParameters:
Name Flags
name
public void removeMessageDestinationRef(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: aconst_null
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.mdrs:Ljava/util/Map;
dup
astore 3
monitorenter
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.mdrs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.MessageDestinationRef
astore 2
4: aload 3
monitorexit
5: goto 8
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String org.apache.tomcat.util.descriptor.web.MessageDestinationRef java.util.Map
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 2
ifnull 13
9: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "messageDestinationRef"
10: aload 2
aconst_null
11: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
12: aload 2
aconst_null
invokevirtual org.apache.tomcat.util.descriptor.web.MessageDestinationRef.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 14 1 name Ljava/lang/String;
2 14 2 mdr Lorg/apache/tomcat/util/descriptor/web/MessageDestinationRef;
Exception table:
from to target type
3 5 6 any
6 7 6 any
MethodParameters:
Name Flags
name
public void removePropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
aload 1
invokevirtual java.beans.PropertyChangeSupport.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 2 1 listener Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
listener
public void removeResource(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: aconst_null
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
dup
astore 3
monitorenter
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResource
astore 2
4: aload 3
monitorexit
5: goto 8
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String org.apache.tomcat.util.descriptor.web.ContextResource java.util.HashMap
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 2
ifnull 20
9: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "resource"
aload 2
aconst_null
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
10: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceRequireExplicitRegistration:Z
ifeq 19
11: aload 2
invokestatic org.apache.catalina.mbeans.MBeanUtils.destroyMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextResource;)V
12: goto 19
StackMap locals:
StackMap stack: java.lang.Exception
13: astore 3
start local 3 14: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.mbeanDestroyFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
15: aload 2
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
aastore
16: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
17: aload 3
18: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 19: StackMap locals:
StackMap stack:
aload 2
aconst_null
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 21 1 name Ljava/lang/String;
2 21 2 resource Lorg/apache/tomcat/util/descriptor/web/ContextResource;
14 19 3 e Ljava/lang/Exception;
Exception table:
from to target type
3 5 6 any
6 7 6 any
11 12 13 Class java.lang.Exception
MethodParameters:
Name Flags
name
public void removeResourceEnvRef(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: aconst_null
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceEnvRefs:Ljava/util/HashMap;
dup
astore 3
monitorenter
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceEnvRefs:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef
4: astore 2
5: aload 3
monitorexit
6: goto 9
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef java.util.HashMap
StackMap stack: java.lang.Throwable
7: aload 3
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 2
ifnull 12
10: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "resourceEnvRef"
aload 2
aconst_null
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
11: aload 2
aconst_null
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 13 1 name Ljava/lang/String;
2 13 2 resourceEnvRef Lorg/apache/tomcat/util/descriptor/web/ContextResourceEnvRef;
Exception table:
from to target type
3 6 7 any
7 8 7 any
MethodParameters:
Name Flags
name
public void removeResourceLink(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: aconst_null
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
dup
astore 3
monitorenter
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResourceLink
astore 2
4: aload 3
monitorexit
5: goto 8
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String org.apache.tomcat.util.descriptor.web.ContextResourceLink java.util.HashMap
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 2
ifnull 20
9: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "resourceLink"
aload 2
aconst_null
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
10: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceRequireExplicitRegistration:Z
ifeq 19
11: aload 2
invokestatic org.apache.catalina.mbeans.MBeanUtils.destroyMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;)V
12: goto 19
StackMap locals:
StackMap stack: java.lang.Exception
13: astore 3
start local 3 14: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.mbeanDestroyFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
15: aload 2
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getName:()Ljava/lang/String;
aastore
16: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
17: aload 3
18: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 19: StackMap locals:
StackMap stack:
aload 2
aconst_null
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 21 1 name Ljava/lang/String;
2 21 2 resourceLink Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
14 19 3 e Ljava/lang/Exception;
Exception table:
from to target type
3 5 6 any
6 7 6 any
11 12 13 Class java.lang.Exception
MethodParameters:
Name Flags
name
public void removeService(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.entries:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: aconst_null
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.services:Ljava/util/HashMap;
dup
astore 3
monitorenter
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.services:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextService
astore 2
4: aload 3
monitorexit
5: goto 8
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.String org.apache.tomcat.util.descriptor.web.ContextService java.util.HashMap
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 2
ifnull 11
9: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.support:Ljava/beans/PropertyChangeSupport;
ldc "service"
aload 2
aconst_null
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
10: aload 2
aconst_null
invokevirtual org.apache.tomcat.util.descriptor.web.ContextService.setNamingResources:(Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 12 1 name Ljava/lang/String;
2 12 2 service Lorg/apache/tomcat/util/descriptor/web/ContextService;
Exception table:
from to target type
3 5 6 any
6 7 6 any
MethodParameters:
Name Flags
name
protected void initInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.util.LifecycleMBeanBase.initInternal:()V
1: aload 0
iconst_1
putfield org.apache.catalina.deploy.NamingResourcesImpl.resourceRequireExplicitRegistration:Z
2: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 12
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResource
astore 1
start local 1 4: aload 1
invokestatic org.apache.catalina.mbeans.MBeanUtils.createMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextResource;)Ljavax/management/DynamicMBean;
pop
5: goto 12
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextResource java.util.Iterator
StackMap stack: java.lang.Exception
6: astore 3
start local 3 7: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
8: ldc "namingResources.mbeanCreateFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
aastore
9: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: aload 3
11: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 end local 1 12: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
13: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 23
StackMap locals:
StackMap stack:
14: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextEnvironment
astore 1
start local 1 15: aload 1
invokestatic org.apache.catalina.mbeans.MBeanUtils.createMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;)Ljavax/management/DynamicMBean;
pop
16: goto 23
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextEnvironment java.util.Iterator
StackMap stack: java.lang.Exception
17: astore 3
start local 3 18: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
19: ldc "namingResources.mbeanCreateFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
aastore
20: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
21: aload 3
22: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 end local 1 23: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
24: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 34
StackMap locals:
StackMap stack:
25: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResourceLink
astore 1
start local 1 26: aload 1
invokestatic org.apache.catalina.mbeans.MBeanUtils.createMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;)Ljavax/management/DynamicMBean;
pop
27: goto 34
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextResourceLink java.util.Iterator
StackMap stack: java.lang.Exception
28: astore 3
start local 3 29: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
30: ldc "namingResources.mbeanCreateFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getName:()Ljava/lang/String;
aastore
31: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
32: aload 3
33: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 end local 1 34: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
35: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
4 12 1 cr Lorg/apache/tomcat/util/descriptor/web/ContextResource;
7 12 3 e Ljava/lang/Exception;
15 23 1 ce Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
18 23 3 e Ljava/lang/Exception;
26 34 1 crl Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
29 34 3 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
15 16 17 Class java.lang.Exception
26 27 28 Class java.lang.Exception
Exceptions:
throws org.apache.catalina.LifecycleException
protected void startInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "configure_start"
aconst_null
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.fireLifecycleEvent:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
getstatic org.apache.catalina.LifecycleState.STARTING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.setState:(Lorg/apache/catalina/LifecycleState;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
Exceptions:
throws org.apache.catalina.LifecycleException
protected void stopInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.cleanUp:()V
1: aload 0
getstatic org.apache.catalina.LifecycleState.STOPPING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.setState:(Lorg/apache/catalina/LifecycleState;)V
2: aload 0
ldc "configure_stop"
aconst_null
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.fireLifecycleEvent:(Ljava/lang/String;Ljava/lang/Object;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
Exceptions:
throws org.apache.catalina.LifecycleException
private void cleanUp();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
invokevirtual java.util.HashMap.size:()I
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
instanceof org.apache.catalina.Server
ifeq 5
3: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
checkcast org.apache.catalina.Server
invokeinterface org.apache.catalina.Server.getGlobalNamingContext:()Ljavax/naming/Context;
astore 1
start local 1 4: goto 15
end local 1 5: StackMap locals:
StackMap stack:
invokestatic org.apache.naming.ContextBindings.getClassLoader:()Ljavax/naming/Context;
astore 1
start local 1 6: aload 1
ldc "comp/env"
invokeinterface javax.naming.Context.lookup:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.naming.Context
astore 1
7: goto 15
end local 1 StackMap locals:
StackMap stack: javax.naming.NamingException
8: astore 2
start local 2 9: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.cleanupNoContext"
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
aastore
11: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
12: aload 2
13: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
14: return
end local 2 start local 1 15: StackMap locals: javax.naming.Context
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 32
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl javax.naming.Context top java.util.Iterator
StackMap stack:
16: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResource
astore 2
start local 2 17: aload 2
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getSingleton:()Z
ifeq 32
18: aload 2
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getCloseMethod:()Ljava/lang/String;
astore 4
start local 4 19: aload 4
ifnull 32
aload 4
invokevirtual java.lang.String.length:()I
ifle 32
20: aload 2
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
astore 5
start local 5 21: aload 1
aload 5
invokeinterface javax.naming.Context.lookup:(Ljava/lang/String;)Ljava/lang/Object;
astore 6
start local 6 22: goto 31
end local 6 StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl javax.naming.Context org.apache.tomcat.util.descriptor.web.ContextResource java.util.Iterator java.lang.String java.lang.String
StackMap stack: javax.naming.NamingException
23: astore 7
start local 7 24: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
25: ldc "namingResources.cleanupNoResource"
iconst_2
anewarray java.lang.Object
dup
iconst_0
26: aload 2
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
aastore
27: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
28: aload 7
29: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
30: goto 32
end local 7 start local 6 31: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 6
aload 5
aload 4
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.cleanUp:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
end local 6 end local 5 end local 4 end local 2 32: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl javax.naming.Context top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
33: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
4 5 1 ctxt Ljavax/naming/Context;
6 8 1 ctxt Ljavax/naming/Context;
15 34 1 ctxt Ljavax/naming/Context;
9 15 2 e Ljavax/naming/NamingException;
17 32 2 cr Lorg/apache/tomcat/util/descriptor/web/ContextResource;
19 32 4 closeMethod Ljava/lang/String;
21 32 5 name Ljava/lang/String;
22 23 6 resource Ljava/lang/Object;
31 32 6 resource Ljava/lang/Object;
24 31 7 e Ljavax/naming/NamingException;
Exception table:
from to target type
2 7 8 Class javax.naming.NamingException
21 22 23 Class javax.naming.NamingException
private void cleanUp(java.lang.Object, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 3
aconst_null
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 4
2: goto 13
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.Object java.lang.String java.lang.String java.lang.reflect.Method
StackMap stack: java.lang.SecurityException
3: pop
4: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.cleanupCloseSecurity"
iconst_3
anewarray java.lang.Object
dup
iconst_0
5: aload 3
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
aastore
6: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
7: return
8: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
9: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.cleanupNoClose"
iconst_3
anewarray java.lang.Object
dup
iconst_0
10: aload 2
aastore
dup
iconst_1
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
aastore
dup
iconst_2
aload 3
aastore
11: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
12: return
13: StackMap locals:
StackMap stack:
aload 4
aload 1
aconst_null
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
14: goto 30
StackMap locals:
StackMap stack: java.lang.Exception
15: astore 5
start local 5 16: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.cleanupCloseFailed"
iconst_3
anewarray java.lang.Object
dup
iconst_0
17: aload 3
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
aastore
18: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
19: aload 5
20: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 5 21: goto 30
22: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 5
start local 5 23: aload 5
invokestatic org.apache.tomcat.util.ExceptionUtils.unwrapInvocationTargetException:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 6
start local 6 24: aload 6
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
25: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "namingResources.cleanupCloseFailed"
iconst_3
anewarray java.lang.Object
dup
iconst_0
26: aload 3
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
aastore
27: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
28: aload 6
29: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 6 end local 5 30: StackMap locals:
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 31 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 31 1 resource Ljava/lang/Object;
0 31 2 name Ljava/lang/String;
0 31 3 closeMethod Ljava/lang/String;
1 31 4 m Ljava/lang/reflect/Method;
16 21 5 e Ljava/lang/Exception;
23 30 5 e Ljava/lang/reflect/InvocationTargetException;
24 30 6 t Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.SecurityException
1 2 8 Class java.lang.NoSuchMethodException
13 14 15 Class java.lang.IllegalArgumentException
13 14 15 Class java.lang.IllegalAccessException
13 14 22 Class java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
resource
name
closeMethod
protected void destroyInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.apache.catalina.deploy.NamingResourcesImpl.resourceRequireExplicitRegistration:Z
1: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resourceLinks:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 11
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResourceLink
astore 1
start local 1 3: aload 1
invokestatic org.apache.catalina.mbeans.MBeanUtils.destroyMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;)V
4: goto 11
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextResourceLink java.util.Iterator
StackMap stack: java.lang.Exception
5: astore 3
start local 3 6: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
7: ldc "namingResources.mbeanDestroyFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResourceLink.getName:()Ljava/lang/String;
aastore
8: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: aload 3
10: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 end local 1 11: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.envs:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 22
StackMap locals:
StackMap stack:
13: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextEnvironment
astore 1
start local 1 14: aload 1
invokestatic org.apache.catalina.mbeans.MBeanUtils.destroyMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;)V
15: goto 22
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextEnvironment java.util.Iterator
StackMap stack: java.lang.Exception
16: astore 3
start local 3 17: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
18: ldc "namingResources.mbeanDestroyFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextEnvironment.getName:()Ljava/lang/String;
aastore
19: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
20: aload 3
21: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 end local 1 22: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
23: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.resources:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 33
StackMap locals:
StackMap stack:
24: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ContextResource
astore 1
start local 1 25: aload 1
invokestatic org.apache.catalina.mbeans.MBeanUtils.destroyMBean:(Lorg/apache/tomcat/util/descriptor/web/ContextResource;)V
26: goto 33
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.tomcat.util.descriptor.web.ContextResource java.util.Iterator
StackMap stack: java.lang.Exception
27: astore 3
start local 3 28: getstatic org.apache.catalina.deploy.NamingResourcesImpl.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.deploy.NamingResourcesImpl.sm:Lorg/apache/tomcat/util/res/StringManager;
29: ldc "namingResources.mbeanDestroyFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
aastore
30: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
31: aload 3
32: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 end local 1 33: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 24
34: aload 0
invokespecial org.apache.catalina.util.LifecycleMBeanBase.destroyInternal:()V
35: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
3 11 1 crl Lorg/apache/tomcat/util/descriptor/web/ContextResourceLink;
6 11 3 e Ljava/lang/Exception;
14 22 1 ce Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
17 22 3 e Ljava/lang/Exception;
25 33 1 cr Lorg/apache/tomcat/util/descriptor/web/ContextResource;
28 33 3 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
14 15 16 Class java.lang.Exception
25 26 27 Class java.lang.Exception
Exceptions:
throws org.apache.catalina.LifecycleException
protected java.lang.String getDomainInternal();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.getContainer:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
instanceof org.apache.catalina.JmxEnabled
ifeq 3
2: aload 1
checkcast org.apache.catalina.JmxEnabled
invokeinterface org.apache.catalina.JmxEnabled.getDomain:()Ljava/lang/String;
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
1 4 1 c Ljava/lang/Object;
protected java.lang.String getObjectNameKeyProperties();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.getContainer:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
instanceof org.apache.catalina.Container
ifeq 5
2: new java.lang.StringBuilder
dup
ldc "type=NamingResources"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
checkcast org.apache.catalina.Container
invokeinterface org.apache.catalina.Container.getMBeanKeyProperties:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals: java.lang.Object
StackMap stack:
ldc "type=NamingResources"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
1 6 1 c Ljava/lang/Object;
private boolean checkResourceType(org.apache.tomcat.util.descriptor.web.ResourceBase);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ResourceBase;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
instanceof org.apache.catalina.Context
ifne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ResourceBase.getInjectionTargets:()Ljava/util/List;
ifnull 4
3: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ResourceBase.getInjectionTargets:()Ljava/util/List;
invokeinterface java.util.List.size:()I
ifne 5
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.deploy.NamingResourcesImpl.container:Ljava/lang/Object;
checkcast org.apache.catalina.Context
astore 2
start local 2 6: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ResourceBase.getType:()Ljava/lang/String;
astore 3
start local 3 7: aconst_null
astore 4
start local 4 8: aload 3
ifnull 12
9: aload 2
aload 3
invokestatic org.apache.catalina.util.Introspection.loadClass:(Lorg/apache/catalina/Context;Ljava/lang/String;)Ljava/lang/Class;
astore 4
10: aload 4
ifnonnull 12
11: iconst_1
ireturn
12: StackMap locals: org.apache.catalina.Context java.lang.String java.lang.Class
StackMap stack:
aload 0
aload 2
aload 1
aload 4
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.getCompatibleType:(Lorg/apache/catalina/Context;Lorg/apache/tomcat/util/descriptor/web/ResourceBase;Ljava/lang/Class;)Ljava/lang/Class;
13: astore 5
start local 5 14: aload 5
ifnonnull 16
15: iconst_0
ireturn
16: StackMap locals: java.lang.Class
StackMap stack:
aload 1
aload 5
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.descriptor.web.ResourceBase.setType:(Ljava/lang/String;)V
17: iconst_1
ireturn
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 18 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 18 1 resource Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
6 18 2 context Lorg/apache/catalina/Context;
7 18 3 typeName Ljava/lang/String;
8 18 4 typeClass Ljava/lang/Class<*>;
14 18 5 compatibleClass Ljava/lang/Class<*>;
MethodParameters:
Name Flags
resource
private java.lang.Class<?> getCompatibleType(org.apache.catalina.Context, org.apache.tomcat.util.descriptor.web.ResourceBase, java.lang.Class<?>);
descriptor: (Lorg/apache/catalina/Context;Lorg/apache/tomcat/util/descriptor/web/ResourceBase;Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 2
invokevirtual org.apache.tomcat.util.descriptor.web.ResourceBase.getInjectionTargets:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 27
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.catalina.Context org.apache.tomcat.util.descriptor.web.ResourceBase java.lang.Class java.lang.Class top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.InjectionTarget
astore 5
start local 5 3: aload 1
aload 5
invokevirtual org.apache.tomcat.util.descriptor.web.InjectionTarget.getTargetClass:()Ljava/lang/String;
4: invokestatic org.apache.catalina.util.Introspection.loadClass:(Lorg/apache/catalina/Context;Ljava/lang/String;)Ljava/lang/Class;
astore 7
start local 7 5: aload 7
ifnonnull 7
6: goto 27
7: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.catalina.Context org.apache.tomcat.util.descriptor.web.ResourceBase java.lang.Class java.lang.Class org.apache.tomcat.util.descriptor.web.InjectionTarget java.util.Iterator java.lang.Class
StackMap stack:
aload 5
invokevirtual org.apache.tomcat.util.descriptor.web.InjectionTarget.getTargetName:()Ljava/lang/String;
astore 8
start local 8 8: aload 0
aload 7
aload 8
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.getSetterType:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;
astore 9
start local 9 9: aload 9
ifnonnull 11
10: aload 0
aload 7
aload 8
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.getFieldType:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;
astore 9
11: StackMap locals: java.lang.String java.lang.Class
StackMap stack:
aload 9
ifnonnull 13
12: goto 27
13: StackMap locals:
StackMap stack:
aload 9
invokestatic org.apache.catalina.util.Introspection.convertPrimitiveType:(Ljava/lang/Class;)Ljava/lang/Class;
astore 9
14: aload 3
ifnonnull 23
15: aload 4
ifnonnull 18
16: aload 9
astore 4
17: goto 27
StackMap locals:
StackMap stack:
18: aload 9
aload 4
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 27
19: aload 4
aload 9
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 22
20: aload 9
astore 4
21: goto 27
22: StackMap locals:
StackMap stack:
aconst_null
areturn
23: StackMap locals:
StackMap stack:
aload 9
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 26
24: aload 3
astore 4
25: goto 27
26: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 9 end local 8 end local 7 end local 5 27: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl org.apache.catalina.Context org.apache.tomcat.util.descriptor.web.ResourceBase java.lang.Class java.lang.Class top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
28: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 29 1 context Lorg/apache/catalina/Context;
0 29 2 resource Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 29 3 typeClass Ljava/lang/Class<*>;
1 29 4 result Ljava/lang/Class<*>;
3 27 5 injectionTarget Lorg/apache/tomcat/util/descriptor/web/InjectionTarget;
5 27 7 clazz Ljava/lang/Class<*>;
8 27 8 targetName Ljava/lang/String;
9 27 9 targetType Ljava/lang/Class<*>;
Signature: (Lorg/apache/catalina/Context;Lorg/apache/tomcat/util/descriptor/web/ResourceBase;Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
context
resource
typeClass
private java.lang.Class<?> getSetterType(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.apache.catalina.util.Introspection.getDeclaredMethods:(Ljava/lang/Class;)[Ljava/lang/reflect/Method;
astore 3
start local 3 1: aload 3
ifnull 9
aload 3
arraylength
ifle 9
2: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.Class java.lang.String java.lang.reflect.Method[] top int int java.lang.reflect.Method[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
invokestatic org.apache.catalina.util.Introspection.isValidSetter:(Ljava/lang/reflect/Method;)Z
ifeq 7
5: aload 4
invokestatic org.apache.catalina.util.Introspection.getPropertyName:(Ljava/lang/reflect/Method;)Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aload 4
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
iconst_0
aaload
areturn
end local 4 7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 3
9: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.Class java.lang.String java.lang.reflect.Method[]
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/deploy/NamingResourcesImpl;
0 10 1 clazz Ljava/lang/Class<*>;
0 10 2 name Ljava/lang/String;
1 10 3 methods [Ljava/lang/reflect/Method;
4 7 4 method Ljava/lang/reflect/Method;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
clazz
name
private java.lang.Class<?> getFieldType(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.apache.catalina.util.Introspection.getDeclaredFields:(Ljava/lang/Class;)[Ljava/lang/reflect/Field;
astore 3
start local 3 1: aload 3
ifnull 8
aload 3
arraylength
ifle 8
2: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.Class java.lang.String java.lang.reflect.Field[] top int int java.lang.reflect.Field[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 4
invokevirtual java.lang.reflect.Field.getType:()Ljava/lang/Class;
areturn
end local 4 6: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 3
8: StackMap locals: org.apache.catalina.deploy.NamingResourcesImpl java.lang.Class java.lang.String java.lang.reflect.Field[]
StackMap stack:
aconst_null
areturn
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/deploy/NamingResourcesImpl;
0 9 1 clazz Ljava/lang/Class<*>;
0 9 2 name Ljava/lang/String;
1 9 3 fields [Ljava/lang/reflect/Field;
4 6 4 field Ljava/lang/reflect/Field;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
clazz
name
}
SourceFile: "NamingResourcesImpl.java"