public abstract class org.springframework.remoting.support.RemoteExporter extends org.springframework.remoting.support.RemotingSupport
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.remoting.support.RemoteExporter
super_class: org.springframework.remoting.support.RemotingSupport
{
private java.lang.Object service;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.lang.Class<?> serviceInterface;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
private java.lang.Boolean registerTraceInterceptor;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object[] interceptors;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
public void <init>();
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.RemotingSupport.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/support/RemoteExporter;
public void setService(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.springframework.remoting.support.RemoteExporter.service:Ljava/lang/Object;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/support/RemoteExporter;
0 2 1 service Ljava/lang/Object;
MethodParameters:
Name Flags
service
public java.lang.Object getService();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.support.RemoteExporter.service:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/support/RemoteExporter;
public void setServiceInterface(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "'serviceInterface' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 1
invokevirtual java.lang.Class.isInterface:()Z
ldc "'serviceInterface' must be an interface"
invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.remoting.support.RemoteExporter.serviceInterface:Ljava/lang/Class;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/remoting/support/RemoteExporter;
0 4 1 serviceInterface Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
serviceInterface
public java.lang.Class<?> getServiceInterface();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.support.RemoteExporter.serviceInterface:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/support/RemoteExporter;
Signature: ()Ljava/lang/Class<*>;
public void setRegisterTraceInterceptor(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
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield org.springframework.remoting.support.RemoteExporter.registerTraceInterceptor:Ljava/lang/Boolean;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/support/RemoteExporter;
0 2 1 registerTraceInterceptor Z
MethodParameters:
Name Flags
registerTraceInterceptor
public void setInterceptors(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.springframework.remoting.support.RemoteExporter.interceptors:[Ljava/lang/Object;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/support/RemoteExporter;
0 2 1 interceptors [Ljava/lang/Object;
MethodParameters:
Name Flags
interceptors
protected void checkService();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.remoting.support.RemoteExporter.getService:()Ljava/lang/Object;
ldc "Property 'service' is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/support/RemoteExporter;
Exceptions:
throws java.lang.IllegalArgumentException
protected void checkServiceInterface();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.remoting.support.RemoteExporter.getServiceInterface:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
ldc "Property 'serviceInterface' is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
invokevirtual org.springframework.remoting.support.RemoteExporter.getService:()Ljava/lang/Object;
astore 2
start local 2 3: aload 2
instanceof java.lang.String
ifeq 8
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Service ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] is a String "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc "rather than an actual service reference: Have you accidentally specified "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "the service bean name as value instead of as reference?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: java.lang.Class java.lang.Object
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 13
9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Service interface ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc "] needs to be implemented by service ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] of class ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()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;
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
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/springframework/remoting/support/RemoteExporter;
1 14 1 serviceInterface Ljava/lang/Class<*>;
3 14 2 service Ljava/lang/Object;
Exceptions:
throws java.lang.IllegalArgumentException
protected java.lang.Object getProxyForService();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.remoting.support.RemoteExporter.checkService:()V
1: aload 0
invokevirtual org.springframework.remoting.support.RemoteExporter.checkServiceInterface:()V
2: new org.springframework.aop.framework.ProxyFactory
dup
invokespecial org.springframework.aop.framework.ProxyFactory.<init>:()V
astore 1
start local 1 3: aload 1
aload 0
invokevirtual org.springframework.remoting.support.RemoteExporter.getServiceInterface:()Ljava/lang/Class;
invokevirtual org.springframework.aop.framework.ProxyFactory.addInterface:(Ljava/lang/Class;)V
4: aload 0
getfield org.springframework.remoting.support.RemoteExporter.registerTraceInterceptor:Ljava/lang/Boolean;
ifnull 5
aload 0
getfield org.springframework.remoting.support.RemoteExporter.registerTraceInterceptor:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 7
goto 6
StackMap locals: org.springframework.aop.framework.ProxyFactory
StackMap stack:
5: aload 0
getfield org.springframework.remoting.support.RemoteExporter.interceptors:[Ljava/lang/Object;
ifnonnull 7
6: StackMap locals:
StackMap stack:
aload 1
new org.springframework.remoting.support.RemoteInvocationTraceInterceptor
dup
aload 0
invokevirtual org.springframework.remoting.support.RemoteExporter.getExporterName:()Ljava/lang/String;
invokespecial org.springframework.remoting.support.RemoteInvocationTraceInterceptor.<init>:(Ljava/lang/String;)V
invokevirtual org.springframework.aop.framework.ProxyFactory.addAdvice:(Lorg/aopalliance/aop/Advice;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.remoting.support.RemoteExporter.interceptors:[Ljava/lang/Object;
ifnull 14
8: invokestatic org.springframework.aop.framework.adapter.GlobalAdvisorAdapterRegistry.getInstance:()Lorg/springframework/aop/framework/adapter/AdvisorAdapterRegistry;
astore 2
start local 2 9: aload 0
getfield org.springframework.remoting.support.RemoteExporter.interceptors:[Ljava/lang/Object;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 13
StackMap locals: org.springframework.remoting.support.RemoteExporter org.springframework.aop.framework.ProxyFactory org.springframework.aop.framework.adapter.AdvisorAdapterRegistry top int int java.lang.Object[]
StackMap stack:
10: aload 6
iload 4
aaload
astore 3
start local 3 11: aload 1
aload 2
aload 3
invokeinterface org.springframework.aop.framework.adapter.AdvisorAdapterRegistry.wrap:(Ljava/lang/Object;)Lorg/springframework/aop/Advisor;
invokevirtual org.springframework.aop.framework.ProxyFactory.addAdvisor:(Lorg/springframework/aop/Advisor;)V
end local 3 12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 5
if_icmplt 10
end local 2 14: StackMap locals: org.springframework.remoting.support.RemoteExporter org.springframework.aop.framework.ProxyFactory
StackMap stack:
aload 1
aload 0
invokevirtual org.springframework.remoting.support.RemoteExporter.getService:()Ljava/lang/Object;
invokevirtual org.springframework.aop.framework.ProxyFactory.setTarget:(Ljava/lang/Object;)V
15: aload 1
iconst_1
invokevirtual org.springframework.aop.framework.ProxyFactory.setOpaque:(Z)V
16: aload 1
aload 0
invokevirtual org.springframework.remoting.support.RemoteExporter.getBeanClassLoader:()Ljava/lang/ClassLoader;
invokevirtual org.springframework.aop.framework.ProxyFactory.getProxy:(Ljava/lang/ClassLoader;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/springframework/remoting/support/RemoteExporter;
3 17 1 proxyFactory Lorg/springframework/aop/framework/ProxyFactory;
9 14 2 adapterRegistry Lorg/springframework/aop/framework/adapter/AdvisorAdapterRegistry;
11 12 3 interceptor Ljava/lang/Object;
protected java.lang.String getExporterName();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.springframework.util.ClassUtils.getShortName:(Ljava/lang/Class;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/support/RemoteExporter;
}
SourceFile: "RemoteExporter.java"