public class org.springframework.remoting.rmi.RmiClientInterceptor extends org.springframework.remoting.support.RemoteInvocationBasedAccessor implements org.aopalliance.intercept.MethodInterceptor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.remoting.rmi.RmiClientInterceptor
super_class: org.springframework.remoting.support.RemoteInvocationBasedAccessor
{
private boolean lookupStubOnStartup;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean cacheStub;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean refreshStubOnConnectFailure;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.rmi.server.RMIClientSocketFactory registryClientSocketFactory;
descriptor: Ljava/rmi/server/RMIClientSocketFactory;
flags: (0x0002) ACC_PRIVATE
private java.rmi.Remote cachedStub;
descriptor: Ljava/rmi/Remote;
flags: (0x0002) ACC_PRIVATE
private final java.lang.Object stubMonitor;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.remoting.support.RemoteInvocationBasedAccessor.<init>:()V
1: aload 0
iconst_1
putfield org.springframework.remoting.rmi.RmiClientInterceptor.lookupStubOnStartup:Z
2: aload 0
iconst_1
putfield org.springframework.remoting.rmi.RmiClientInterceptor.cacheStub:Z
3: aload 0
iconst_0
putfield org.springframework.remoting.rmi.RmiClientInterceptor.refreshStubOnConnectFailure:Z
4: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.springframework.remoting.rmi.RmiClientInterceptor.stubMonitor:Ljava/lang/Object;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
public void setLookupStubOnStartup(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.remoting.rmi.RmiClientInterceptor.lookupStubOnStartup:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
0 2 1 lookupStubOnStartup Z
MethodParameters:
Name Flags
lookupStubOnStartup
public void setCacheStub(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.remoting.rmi.RmiClientInterceptor.cacheStub:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
0 2 1 cacheStub Z
MethodParameters:
Name Flags
cacheStub
public void setRefreshStubOnConnectFailure(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.remoting.rmi.RmiClientInterceptor.refreshStubOnConnectFailure:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
0 2 1 refreshStubOnConnectFailure Z
MethodParameters:
Name Flags
refreshStubOnConnectFailure
public void setRegistryClientSocketFactory(java.rmi.server.RMIClientSocketFactory);
descriptor: (Ljava/rmi/server/RMIClientSocketFactory;)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.springframework.remoting.rmi.RmiClientInterceptor.registryClientSocketFactory:Ljava/rmi/server/RMIClientSocketFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
0 2 1 registryClientSocketFactory Ljava/rmi/server/RMIClientSocketFactory;
MethodParameters:
Name Flags
registryClientSocketFactory
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.remoting.support.RemoteInvocationBasedAccessor.afterPropertiesSet:()V
1: aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.prepare:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
public void prepare();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.lookupStubOnStartup:Z
ifeq 16
1: aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub:()Ljava/rmi/Remote;
astore 1
start local 1 2: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 14
3: aload 1
instanceof org.springframework.remoting.rmi.RmiInvocationHandler
ifeq 6
4: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "RMI stub ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] is an RMI invoker"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
5: goto 14
6: StackMap locals: java.rmi.Remote
StackMap stack:
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceInterface:()Ljava/lang/Class;
ifnull 14
7: aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceInterface:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
istore 2
start local 2 8: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Using service interface ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceInterface:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc "] for RMI stub ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()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;
10: iload 2
ifne 11
ldc "not "
goto 12
StackMap locals: org.springframework.remoting.rmi.RmiClientInterceptor java.rmi.Remote int
StackMap stack: org.apache.commons.logging.Log java.lang.StringBuilder
11: ldc ""
StackMap locals: org.springframework.remoting.rmi.RmiClientInterceptor java.rmi.Remote int
StackMap stack: org.apache.commons.logging.Log java.lang.StringBuilder java.lang.String
12: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "directly implemented"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
end local 2 14: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.cacheStub:Z
ifeq 16
15: aload 0
aload 1
putfield org.springframework.remoting.rmi.RmiClientInterceptor.cachedStub:Ljava/rmi/Remote;
end local 1 16: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
2 16 1 remoteObj Ljava/rmi/Remote;
8 14 2 isImpl Z
Exceptions:
throws org.springframework.remoting.RemoteLookupFailureException
protected java.rmi.Remote lookupStub();
descriptor: ()Ljava/rmi/Remote;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.registryClientSocketFactory:Ljava/rmi/server/RMIClientSocketFactory;
ifnull 14
2: new java.net.URL
dup
aconst_null
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()Ljava/lang/String;
new org.springframework.remoting.rmi.RmiClientInterceptor$DummyURLStreamHandler
dup
invokespecial org.springframework.remoting.rmi.RmiClientInterceptor$DummyURLStreamHandler.<init>:()V
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V
astore 2
start local 2 3: aload 2
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
astore 3
start local 3 4: aload 3
ifnull 6
ldc "rmi"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
5: new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "Invalid URL scheme '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.rmi.Remote java.net.URL java.lang.String
StackMap stack:
aload 2
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 4
start local 4 7: aload 2
invokevirtual java.net.URL.getPort:()I
istore 5
start local 5 8: aload 2
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
astore 6
start local 6 9: aload 6
ifnull 11
aload 6
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
10: aload 6
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
11: StackMap locals: java.lang.String int java.lang.String
StackMap stack:
aload 4
iload 5
aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.registryClientSocketFactory:Ljava/rmi/server/RMIClientSocketFactory;
invokestatic java.rmi.registry.LocateRegistry.getRegistry:(Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;)Ljava/rmi/registry/Registry;
astore 7
start local 7 12: aload 7
aload 6
invokeinterface java.rmi.registry.Registry.lookup:(Ljava/lang/String;)Ljava/rmi/Remote;
astore 1
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 13: goto 15
14: StackMap locals: org.springframework.remoting.rmi.RmiClientInterceptor java.rmi.Remote
StackMap stack:
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()Ljava/lang/String;
invokestatic java.rmi.Naming.lookup:(Ljava/lang/String;)Ljava/rmi/Remote;
astore 1
15: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 17
16: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Located RMI stub with URL ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()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;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
aload 1
18: areturn
end local 1 19: StackMap locals: org.springframework.remoting.rmi.RmiClientInterceptor
StackMap stack: java.net.MalformedURLException
astore 1
start local 1 20: new org.springframework.remoting.RemoteLookupFailureException
dup
new java.lang.StringBuilder
dup
ldc "Service URL ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] is invalid"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.springframework.remoting.RemoteLookupFailureException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 21: StackMap locals:
StackMap stack: java.rmi.NotBoundException
astore 1
start local 1 22: new org.springframework.remoting.RemoteLookupFailureException
dup
23: new java.lang.StringBuilder
dup
ldc "Could not find RMI service ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] in RMI registry"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
24: invokespecial org.springframework.remoting.RemoteLookupFailureException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 25: StackMap locals:
StackMap stack: java.rmi.RemoteException
astore 1
start local 1 26: new org.springframework.remoting.RemoteLookupFailureException
dup
ldc "Lookup of RMI stub failed"
aload 1
invokespecial org.springframework.remoting.RemoteLookupFailureException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
1 19 1 stub Ljava/rmi/Remote;
3 13 2 url Ljava/net/URL;
4 13 3 protocol Ljava/lang/String;
7 13 4 host Ljava/lang/String;
8 13 5 port I
9 13 6 name Ljava/lang/String;
12 13 7 registry Ljava/rmi/registry/Registry;
20 21 1 ex Ljava/net/MalformedURLException;
22 25 1 ex Ljava/rmi/NotBoundException;
26 27 1 ex Ljava/rmi/RemoteException;
Exception table:
from to target type
0 18 19 Class java.net.MalformedURLException
0 18 21 Class java.rmi.NotBoundException
0 18 25 Class java.rmi.RemoteException
Exceptions:
throws org.springframework.remoting.RemoteLookupFailureException
protected java.rmi.Remote getStub();
descriptor: ()Ljava/rmi/Remote;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.cacheStub:Z
ifeq 1
aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.lookupStubOnStartup:Z
ifeq 4
aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.refreshStubOnConnectFailure:Z
ifne 4
1: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.cachedStub:Ljava/rmi/Remote;
ifnull 2
aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.cachedStub:Ljava/rmi/Remote;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub:()Ljava/rmi/Remote;
StackMap locals:
StackMap stack: java.rmi.Remote
3: areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.stubMonitor:Ljava/lang/Object;
dup
astore 1
monitorenter
5: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.cachedStub:Ljava/rmi/Remote;
ifnonnull 7
6: aload 0
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub:()Ljava/rmi/Remote;
putfield org.springframework.remoting.rmi.RmiClientInterceptor.cachedStub:Ljava/rmi/Remote;
7: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.cachedStub:Ljava/rmi/Remote;
aload 1
monitorexit
8: areturn
9: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
10: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
Exception table:
from to target type
5 8 9 any
9 10 9 any
Exceptions:
throws org.springframework.remoting.RemoteLookupFailureException
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getStub:()Ljava/rmi/Remote;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke:(Lorg/aopalliance/intercept/MethodInvocation;Ljava/rmi/Remote;)Ljava/lang/Object;
2: areturn
3: StackMap locals: org.springframework.remoting.rmi.RmiClientInterceptor org.aopalliance.intercept.MethodInvocation java.rmi.Remote
StackMap stack: org.springframework.remoting.RemoteConnectFailureException
astore 3
start local 3 4: aload 0
aload 1
aload 3
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.handleRemoteConnectFailure:(Lorg/aopalliance/intercept/MethodInvocation;Ljava/lang/Exception;)Ljava/lang/Object;
areturn
end local 3 5: StackMap locals:
StackMap stack: java.rmi.RemoteException
astore 3
start local 3 6: aload 0
aload 3
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.isConnectFailure:(Ljava/rmi/RemoteException;)Z
ifeq 8
7: aload 0
aload 1
aload 3
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.handleRemoteConnectFailure:(Lorg/aopalliance/intercept/MethodInvocation;Ljava/lang/Exception;)Ljava/lang/Object;
areturn
8: StackMap locals: java.rmi.RemoteException
StackMap stack:
aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
0 9 1 invocation Lorg/aopalliance/intercept/MethodInvocation;
1 9 2 stub Ljava/rmi/Remote;
4 5 3 ex Lorg/springframework/remoting/RemoteConnectFailureException;
6 9 3 ex Ljava/rmi/RemoteException;
Exception table:
from to target type
1 2 3 Class org.springframework.remoting.RemoteConnectFailureException
1 2 5 Class java.rmi.RemoteException
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
invocation
protected boolean isConnectFailure(java.rmi.RemoteException);
descriptor: (Ljava/rmi/RemoteException;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.remoting.rmi.RmiClientInterceptorUtils.isConnectFailure:(Ljava/rmi/RemoteException;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
0 1 1 ex Ljava/rmi/RemoteException;
MethodParameters:
Name Flags
ex
private java.lang.Object handleRemoteConnectFailure(org.aopalliance.intercept.MethodInvocation, java.lang.Exception);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;Ljava/lang/Exception;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.refreshStubOnConnectFailure:Z
ifeq 8
1: new java.lang.StringBuilder
dup
ldc "Could not connect to RMI service ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] - retrying"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 5
3: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.logger:Lorg/apache/commons/logging/Log;
aload 3
aload 2
invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
4: goto 7
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isWarnEnabled:()Z
ifeq 7
6: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.logger:Lorg/apache/commons/logging/Log;
aload 3
invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.refreshAndRetry:(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;
areturn
end local 3 8: StackMap locals:
StackMap stack:
aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
0 9 1 invocation Lorg/aopalliance/intercept/MethodInvocation;
0 9 2 ex Ljava/lang/Exception;
2 8 3 msg Ljava/lang/String;
Exceptions:
throws java.lang.Throwable
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
invocation
ex
protected java.lang.Object refreshAndRetry(org.aopalliance.intercept.MethodInvocation);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.stubMonitor:Ljava/lang/Object;
dup
astore 3
monitorenter
2: aload 0
aconst_null
putfield org.springframework.remoting.rmi.RmiClientInterceptor.cachedStub:Ljava/rmi/Remote;
3: aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub:()Ljava/rmi/Remote;
astore 2
4: aload 0
getfield org.springframework.remoting.rmi.RmiClientInterceptor.cacheStub:Z
ifeq 6
5: aload 0
aload 2
putfield org.springframework.remoting.rmi.RmiClientInterceptor.cachedStub:Ljava/rmi/Remote;
6: StackMap locals: java.rmi.Remote java.lang.Object
StackMap stack:
aload 3
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 3
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke:(Lorg/aopalliance/intercept/MethodInvocation;Ljava/rmi/Remote;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
0 11 1 invocation Lorg/aopalliance/intercept/MethodInvocation;
1 11 2 freshStub Ljava/rmi/Remote;
Exception table:
from to target type
2 7 8 any
8 9 8 any
Exceptions:
throws java.lang.Throwable
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
invocation
protected java.lang.Object doInvoke(org.aopalliance.intercept.MethodInvocation, java.rmi.Remote);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;Ljava/rmi/Remote;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.springframework.remoting.rmi.RmiInvocationHandler
ifeq 14
1: aload 0
aload 1
aload 2
checkcast org.springframework.remoting.rmi.RmiInvocationHandler
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke:(Lorg/aopalliance/intercept/MethodInvocation;Lorg/springframework/remoting/rmi/RmiInvocationHandler;)Ljava/lang/Object;
2: areturn
3: StackMap locals:
StackMap stack: java.rmi.RemoteException
astore 3
start local 3 4: aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getMethod:()Ljava/lang/reflect/Method;
aload 3
aload 0
aload 3
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.isConnectFailure:(Ljava/rmi/RemoteException;)Z
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()Ljava/lang/String;
5: invokestatic org.springframework.remoting.rmi.RmiClientInterceptorUtils.convertRmiAccessException:(Ljava/lang/reflect/Method;Ljava/rmi/RemoteException;ZLjava/lang/String;)Ljava/lang/Exception;
athrow
end local 3 6: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 3
start local 3 7: aload 3
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
astore 4
start local 4 8: aload 4
invokestatic org.springframework.remoting.support.RemoteInvocationUtils.fillInClientStackTraceIfPossible:(Ljava/lang/Throwable;)V
9: aload 4
athrow
end local 4 end local 3 10: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 11: new org.springframework.remoting.RemoteInvocationFailureException
dup
new java.lang.StringBuilder
dup
ldc "Invocation of 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.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
12: ldc "] failed in RMI service ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()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
13: invokespecial org.springframework.remoting.RemoteInvocationFailureException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 14: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic org.springframework.remoting.rmi.RmiClientInterceptorUtils.invokeRemoteMethod:(Lorg/aopalliance/intercept/MethodInvocation;Ljava/lang/Object;)Ljava/lang/Object;
15: areturn
16: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 3
start local 3 17: aload 3
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
astore 4
start local 4 18: aload 4
instanceof java.rmi.RemoteException
ifeq 22
19: aload 4
checkcast java.rmi.RemoteException
astore 5
start local 5 20: aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getMethod:()Ljava/lang/reflect/Method;
aload 5
aload 0
aload 5
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.isConnectFailure:(Ljava/rmi/RemoteException;)Z
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()Ljava/lang/String;
21: invokestatic org.springframework.remoting.rmi.RmiClientInterceptorUtils.convertRmiAccessException:(Ljava/lang/reflect/Method;Ljava/rmi/RemoteException;ZLjava/lang/String;)Ljava/lang/Exception;
athrow
end local 5 22: StackMap locals: java.lang.reflect.InvocationTargetException java.lang.Throwable
StackMap stack:
aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
0 23 1 invocation Lorg/aopalliance/intercept/MethodInvocation;
0 23 2 stub Ljava/rmi/Remote;
4 6 3 ex Ljava/rmi/RemoteException;
7 10 3 ex Ljava/lang/reflect/InvocationTargetException;
8 10 4 exToThrow Ljava/lang/Throwable;
11 14 3 ex Ljava/lang/Throwable;
17 23 3 ex Ljava/lang/reflect/InvocationTargetException;
18 23 4 targetEx Ljava/lang/Throwable;
20 22 5 rex Ljava/rmi/RemoteException;
Exception table:
from to target type
1 2 3 Class java.rmi.RemoteException
1 2 6 Class java.lang.reflect.InvocationTargetException
1 2 10 Class java.lang.Throwable
14 15 16 Class java.lang.reflect.InvocationTargetException
Exceptions:
throws java.lang.Throwable
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
invocation
stub
protected java.lang.Object doInvoke(org.aopalliance.intercept.MethodInvocation, org.springframework.remoting.rmi.RmiInvocationHandler);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;Lorg/springframework/remoting/rmi/RmiInvocationHandler;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getMethod:()Ljava/lang/reflect/Method;
invokestatic org.springframework.aop.support.AopUtils.isToStringMethod:(Ljava/lang/reflect/Method;)Z
ifeq 2
1: new java.lang.StringBuilder
dup
ldc "RMI invoker proxy for service URL ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.getServiceUrl:()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;
areturn
2: StackMap locals:
StackMap stack:
aload 2
aload 0
aload 1
invokevirtual org.springframework.remoting.rmi.RmiClientInterceptor.createRemoteInvocation:(Lorg/aopalliance/intercept/MethodInvocation;)Lorg/springframework/remoting/support/RemoteInvocation;
invokeinterface org.springframework.remoting.rmi.RmiInvocationHandler.invoke:(Lorg/springframework/remoting/support/RemoteInvocation;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/remoting/rmi/RmiClientInterceptor;
0 3 1 methodInvocation Lorg/aopalliance/intercept/MethodInvocation;
0 3 2 invocationHandler Lorg/springframework/remoting/rmi/RmiInvocationHandler;
Exceptions:
throws java.rmi.RemoteException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
methodInvocation
invocationHandler
}
SourceFile: "RmiClientInterceptor.java"
NestMembers:
org.springframework.remoting.rmi.RmiClientInterceptor$DummyURLStreamHandler
InnerClasses:
private DummyURLStreamHandler = org.springframework.remoting.rmi.RmiClientInterceptor$DummyURLStreamHandler of org.springframework.remoting.rmi.RmiClientInterceptor