public class org.springframework.ejb.access.LocalSlsbInvokerInterceptor extends org.springframework.ejb.access.AbstractSlsbInvokerInterceptor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.ejb.access.LocalSlsbInvokerInterceptor
super_class: org.springframework.ejb.access.AbstractSlsbInvokerInterceptor
{
private volatile boolean homeAsComponent;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.<init>:()V
1: aload 0
iconst_0
putfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.homeAsComponent:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/ejb/access/LocalSlsbInvokerInterceptor;
public java.lang.Object invokeInContext(org.aopalliance.intercept.MethodInvocation);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.getSessionBeanInstance:()Ljava/lang/Object;
astore 2
2: aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getMethod:()Ljava/lang/reflect/Method;
astore 3
start local 3 3: aload 3
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 8
4: aload 3
aload 2
aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getArguments:()[Ljava/lang/Object;
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 6
5: aload 2
instanceof javax.ejb.EJBLocalObject
ifeq 7
6: aload 0
aload 2
checkcast javax.ejb.EJBLocalObject
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.releaseSessionBeanInstance:(Ljavax/ejb/EJBLocalObject;)V
7: StackMap locals: org.springframework.ejb.access.LocalSlsbInvokerInterceptor org.aopalliance.intercept.MethodInvocation java.lang.Object java.lang.reflect.Method top top java.lang.Object
StackMap stack:
aload 6
areturn
8: StackMap locals: org.springframework.ejb.access.LocalSlsbInvokerInterceptor org.aopalliance.intercept.MethodInvocation java.lang.Object java.lang.reflect.Method
StackMap stack:
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 3
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 4
start local 4 9: aload 4
aload 2
aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getArguments:()[Ljava/lang/Object;
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 6
10: aload 2
instanceof javax.ejb.EJBLocalObject
ifeq 12
11: aload 0
aload 2
checkcast javax.ejb.EJBLocalObject
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.releaseSessionBeanInstance:(Ljavax/ejb/EJBLocalObject;)V
12: StackMap locals: org.springframework.ejb.access.LocalSlsbInvokerInterceptor org.aopalliance.intercept.MethodInvocation java.lang.Object java.lang.reflect.Method java.lang.reflect.Method top java.lang.Object
StackMap stack:
aload 6
areturn
end local 4 end local 3 13: StackMap locals: org.springframework.ejb.access.LocalSlsbInvokerInterceptor org.aopalliance.intercept.MethodInvocation java.lang.Object
StackMap stack: java.lang.reflect.InvocationTargetException
astore 3
start local 3 14: aload 3
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
astore 4
start local 4 15: aload 0
getfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 17
16: aload 0
getfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Method of local EJB ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.getJndiName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] threw exception"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
17: StackMap locals: java.lang.reflect.InvocationTargetException java.lang.Throwable
StackMap stack:
aload 4
instanceof javax.ejb.CreateException
ifeq 19
18: new org.springframework.ejb.access.EjbAccessException
dup
new java.lang.StringBuilder
dup
ldc "Could not create local EJB ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.getJndiName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial org.springframework.ejb.access.EjbAccessException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
19: StackMap locals:
StackMap stack:
aload 4
athrow
end local 4 end local 3 20: StackMap locals: org.springframework.ejb.access.LocalSlsbInvokerInterceptor org.aopalliance.intercept.MethodInvocation java.lang.Object
StackMap stack: javax.naming.NamingException
astore 3
start local 3 21: new org.springframework.ejb.access.EjbAccessException
dup
new java.lang.StringBuilder
dup
ldc "Failed to locate local EJB ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.getJndiName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial org.springframework.ejb.access.EjbAccessException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 22: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 3
start local 3 23: new org.springframework.ejb.access.EjbAccessException
dup
new java.lang.StringBuilder
dup
ldc "Could not access method ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: ldc "] of local EJB ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.getJndiName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
25: invokespecial org.springframework.ejb.access.EjbAccessException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 26: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
27: aload 2
instanceof javax.ejb.EJBLocalObject
ifeq 29
28: aload 0
aload 2
checkcast javax.ejb.EJBLocalObject
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.releaseSessionBeanInstance:(Ljavax/ejb/EJBLocalObject;)V
29: StackMap locals: org.springframework.ejb.access.LocalSlsbInvokerInterceptor org.aopalliance.intercept.MethodInvocation java.lang.Object top top java.lang.Throwable
StackMap stack:
aload 5
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/springframework/ejb/access/LocalSlsbInvokerInterceptor;
0 30 1 invocation Lorg/aopalliance/intercept/MethodInvocation;
1 30 2 ejb Ljava/lang/Object;
3 13 3 method Ljava/lang/reflect/Method;
9 13 4 ejbMethod Ljava/lang/reflect/Method;
14 20 3 ex Ljava/lang/reflect/InvocationTargetException;
15 20 4 targetEx Ljava/lang/Throwable;
21 22 3 ex Ljavax/naming/NamingException;
23 26 3 ex Ljava/lang/IllegalAccessException;
Exception table:
from to target type
1 5 13 Class java.lang.reflect.InvocationTargetException
8 10 13 Class java.lang.reflect.InvocationTargetException
1 5 20 Class javax.naming.NamingException
8 10 20 Class javax.naming.NamingException
1 5 22 Class java.lang.IllegalAccessException
8 10 22 Class java.lang.IllegalAccessException
1 5 26 any
8 10 26 any
13 26 26 any
Exceptions:
throws java.lang.Throwable
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
invocation
protected java.lang.reflect.Method getCreateMethod(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/reflect/Method;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.homeAsComponent:Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.ejb.EJBLocalHome
ifne 5
3: aload 0
iconst_1
putfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.homeAsComponent:Z
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.getCreateMethod:(Ljava/lang/Object;)Ljava/lang/reflect/Method;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/ejb/access/LocalSlsbInvokerInterceptor;
0 6 1 home Ljava/lang/Object;
Exceptions:
throws org.springframework.ejb.access.EjbAccessException
MethodParameters:
Name Flags
home
protected java.lang.Object getSessionBeanInstance();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.newSessionBeanInstance:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/ejb/access/LocalSlsbInvokerInterceptor;
Exceptions:
throws javax.naming.NamingException, java.lang.reflect.InvocationTargetException
protected void releaseSessionBeanInstance(javax.ejb.EJBLocalObject);
descriptor: (Ljavax/ejb/EJBLocalObject;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.removeSessionBeanInstance:(Ljavax/ejb/EJBLocalObject;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/ejb/access/LocalSlsbInvokerInterceptor;
0 2 1 ejb Ljavax/ejb/EJBLocalObject;
MethodParameters:
Name Flags
ejb
protected java.lang.Object newSessionBeanInstance();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 2
1: aload 0
getfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.logger:Lorg/apache/commons/logging/Log;
ldc "Trying to create reference to local EJB"
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.ejb.access.LocalSlsbInvokerInterceptor.create:()Ljava/lang/Object;
astore 1
start local 1 3: aload 0
getfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 5
4: aload 0
getfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Obtained reference to local EJB: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
5: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/ejb/access/LocalSlsbInvokerInterceptor;
3 6 1 ejbInstance Ljava/lang/Object;
Exceptions:
throws javax.naming.NamingException, java.lang.reflect.InvocationTargetException
protected void removeSessionBeanInstance(javax.ejb.EJBLocalObject);
descriptor: (Ljavax/ejb/EJBLocalObject;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 5
aload 0
getfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.homeAsComponent:Z
ifne 5
1: aload 1
invokeinterface javax.ejb.EJBLocalObject.remove:()V
2: goto 5
3: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 4: aload 0
getfield org.springframework.ejb.access.LocalSlsbInvokerInterceptor.logger:Lorg/apache/commons/logging/Log;
ldc "Could not invoke 'remove' on local EJB proxy"
aload 2
invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/ejb/access/LocalSlsbInvokerInterceptor;
0 6 1 ejb Ljavax/ejb/EJBLocalObject;
4 5 2 ex Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
ejb
}
SourceFile: "LocalSlsbInvokerInterceptor.java"