public abstract class org.springframework.remoting.rmi.RemoteInvocationSerializingExporter extends org.springframework.remoting.support.RemoteInvocationBasedExporter implements org.springframework.beans.factory.InitializingBean
{
public static final java.lang.String CONTENT_TYPE_SERIALIZED_OBJECT;
private java.lang.String contentType;
private boolean acceptProxyClasses;
private java.lang.Object proxy;
public void <init>()
{
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
specialinvoke v.<org.springframework.remoting.support.RemoteInvocationBasedExporter: void <init>()>();
v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: java.lang.String contentType> = "application/x-java-serialized-object";
v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: boolean acceptProxyClasses> = 1;
return;
}
public void setContentType(java.lang.String)
{
java.lang.String v;
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
v := @parameter: java.lang.String;
staticinvoke <org.springframework.util.Assert: void notNull(java.lang.Object,java.lang.String)>(v, "\'contentType\' must not be null");
v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: java.lang.String contentType> = v;
return;
}
public java.lang.String getContentType()
{
java.lang.String v;
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
v = v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: java.lang.String contentType>;
return v;
}
public void setAcceptProxyClasses(boolean)
{
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
boolean v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
v := @parameter: boolean;
v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: boolean acceptProxyClasses> = v;
return;
}
public boolean isAcceptProxyClasses()
{
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
boolean v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
v = v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: boolean acceptProxyClasses>;
return v;
}
public void afterPropertiesSet()
{
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
virtualinvoke v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: void prepare()>();
return;
}
public void prepare()
{
java.lang.Object v;
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
v = virtualinvoke v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: java.lang.Object getProxyForService()>();
v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: java.lang.Object proxy> = v;
return;
}
protected final java.lang.Object getProxy()
{
java.lang.IllegalStateException v;
java.lang.Class v;
java.lang.Object v, v;
java.lang.String v, v;
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
v = v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: java.lang.Object proxy>;
if v != null goto label;
v = new java.lang.IllegalStateException;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = staticinvoke <org.springframework.util.ClassUtils: java.lang.String getShortName(java.lang.Class)>(v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u has not been initialized");
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: java.lang.Object proxy>;
return v;
}
protected java.io.ObjectInputStream createObjectInputStream(java.io.InputStream) throws java.io.IOException
{
java.lang.ClassLoader v;
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
boolean v;
java.io.InputStream v;
org.springframework.remoting.rmi.CodebaseAwareObjectInputStream v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
v := @parameter: java.io.InputStream;
v = new org.springframework.remoting.rmi.CodebaseAwareObjectInputStream;
v = virtualinvoke v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: java.lang.ClassLoader getBeanClassLoader()>();
v = virtualinvoke v.<org.springframework.remoting.rmi.RemoteInvocationSerializingExporter: boolean isAcceptProxyClasses()>();
specialinvoke v.<org.springframework.remoting.rmi.CodebaseAwareObjectInputStream: void <init>(java.io.InputStream,java.lang.ClassLoader,boolean)>(v, v, v);
return v;
}
protected org.springframework.remoting.support.RemoteInvocation doReadRemoteInvocation(java.io.ObjectInputStream) throws java.io.IOException, java.lang.ClassNotFoundException
{
java.io.ObjectInputStream v;
java.rmi.RemoteException v;
java.lang.Class v;
java.lang.Object v;
java.lang.String v, v, v;
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
boolean v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
v := @parameter: java.io.ObjectInputStream;
v = virtualinvoke v.<java.io.ObjectInputStream: java.lang.Object readObject()>();
v = v instanceof org.springframework.remoting.support.RemoteInvocation;
if v != 0 goto label;
v = new java.rmi.RemoteException;
v = class "Lorg/springframework/remoting/support/RemoteInvocation;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
v = staticinvoke <org.springframework.util.ClassUtils: java.lang.String getDescriptiveType(java.lang.Object)>(v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Deserialized object needs to be assignable to type [\u]: \u0001");
specialinvoke v.<java.rmi.RemoteException: void <init>(java.lang.String)>(v);
throw v;
label:
return v;
}
protected java.io.ObjectOutputStream createObjectOutputStream(java.io.OutputStream) throws java.io.IOException
{
java.io.OutputStream v;
java.io.ObjectOutputStream v;
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
v := @parameter: java.io.OutputStream;
v = new java.io.ObjectOutputStream;
specialinvoke v.<java.io.ObjectOutputStream: void <init>(java.io.OutputStream)>(v);
return v;
}
protected void doWriteRemoteInvocationResult(org.springframework.remoting.support.RemoteInvocationResult, java.io.ObjectOutputStream) throws java.io.IOException
{
java.io.ObjectOutputStream v;
org.springframework.remoting.rmi.RemoteInvocationSerializingExporter v;
org.springframework.remoting.support.RemoteInvocationResult v;
v := @this: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter;
v := @parameter: org.springframework.remoting.support.RemoteInvocationResult;
v := @parameter: java.io.ObjectOutputStream;
virtualinvoke v.<java.io.ObjectOutputStream: void writeObject(java.lang.Object)>(v);
return;
}
}