public abstract class org.springframework.remoting.rmi.RemoteInvocationSerializingExporter extends org.springframework.remoting.support.RemoteInvocationBasedExporter implements org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter
super_class: org.springframework.remoting.support.RemoteInvocationBasedExporter
{
public static final java.lang.String CONTENT_TYPE_SERIALIZED_OBJECT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "application/x-java-serialized-object"
private java.lang.String contentType;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean acceptProxyClasses;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Object proxy;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
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.remoting.support.RemoteInvocationBasedExporter.<init>:()V
1: aload 0
ldc "application/x-java-serialized-object"
putfield org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.contentType:Ljava/lang/String;
2: aload 0
iconst_1
putfield org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.acceptProxyClasses:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
public void setContentType(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "'contentType' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.contentType:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
0 3 1 contentType Ljava/lang/String;
MethodParameters:
Name Flags
contentType
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.contentType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
public void setAcceptProxyClasses(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.RemoteInvocationSerializingExporter.acceptProxyClasses:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
0 2 1 acceptProxyClasses Z
MethodParameters:
Name Flags
acceptProxyClasses
public boolean isAcceptProxyClasses();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.acceptProxyClasses:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.prepare:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
public void prepare();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.getProxyForService:()Ljava/lang/Object;
putfield org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.proxy:Ljava/lang/Object;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
protected final java.lang.Object getProxy();
descriptor: ()Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.proxy:Ljava/lang/Object;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.springframework.util.ClassUtils.getShortName:(Ljava/lang/Class;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " has not been initialized"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.proxy:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
protected java.io.ObjectInputStream createObjectInputStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/io/ObjectInputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.remoting.rmi.CodebaseAwareObjectInputStream
dup
aload 1
aload 0
invokevirtual org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.getBeanClassLoader:()Ljava/lang/ClassLoader;
aload 0
invokevirtual org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.isAcceptProxyClasses:()Z
invokespecial org.springframework.remoting.rmi.CodebaseAwareObjectInputStream.<init>:(Ljava/io/InputStream;Ljava/lang/ClassLoader;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
0 1 1 is Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
protected org.springframework.remoting.support.RemoteInvocation doReadRemoteInvocation(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)Lorg/springframework/remoting/support/RemoteInvocation;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof org.springframework.remoting.support.RemoteInvocation
ifne 5
2: new java.rmi.RemoteException
dup
new java.lang.StringBuilder
dup
ldc "Deserialized object needs to be assignable to type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: ldc Lorg/springframework/remoting/support/RemoteInvocation;
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;
aload 2
invokestatic org.springframework.util.ClassUtils.getDescriptiveType:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.rmi.RemoteException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast org.springframework.remoting.support.RemoteInvocation
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
0 6 1 ois Ljava/io/ObjectInputStream;
1 6 2 obj Ljava/lang/Object;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
ois
protected java.io.ObjectOutputStream createObjectOutputStream(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)Ljava/io/ObjectOutputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.ObjectOutputStream
dup
aload 1
invokespecial java.io.ObjectOutputStream.<init>:(Ljava/io/OutputStream;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
0 1 1 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
protected void doWriteRemoteInvocationResult(org.springframework.remoting.support.RemoteInvocationResult, java.io.ObjectOutputStream);
descriptor: (Lorg/springframework/remoting/support/RemoteInvocationResult;Ljava/io/ObjectOutputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/rmi/RemoteInvocationSerializingExporter;
0 2 1 result Lorg/springframework/remoting/support/RemoteInvocationResult;
0 2 2 oos Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
result
oos
}
SourceFile: "RemoteInvocationSerializingExporter.java"