Browse Source

Explicit note on phasing out serialization-based remoting

See gh-25379
pull/25487/head
Juergen Hoeller 6 years ago
parent
commit
a1a9bb3e7f
  1. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/CodebaseAwareObjectInputStream.java
  2. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/JndiRmiClientInterceptor.java
  3. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/JndiRmiProxyFactoryBean.java
  4. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/JndiRmiServiceExporter.java
  5. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/RemoteInvocationSerializingExporter.java
  6. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/RmiBasedExporter.java
  7. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/RmiClientInterceptor.java
  8. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/RmiClientInterceptorUtils.java
  9. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/RmiInvocationHandler.java
  10. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/RmiProxyFactoryBean.java
  11. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/RmiRegistryFactoryBean.java
  12. 2
      spring-context/src/main/java/org/springframework/remoting/rmi/RmiServiceExporter.java
  13. 2
      spring-jms/src/main/java/org/springframework/jms/remoting/JmsInvokerClientInterceptor.java
  14. 2
      spring-jms/src/main/java/org/springframework/jms/remoting/JmsInvokerProxyFactoryBean.java
  15. 2
      spring-jms/src/main/java/org/springframework/jms/remoting/JmsInvokerServiceExporter.java
  16. 2
      spring-web/src/main/java/org/springframework/remoting/caucho/HessianClientInterceptor.java
  17. 2
      spring-web/src/main/java/org/springframework/remoting/caucho/HessianExporter.java
  18. 2
      spring-web/src/main/java/org/springframework/remoting/caucho/HessianProxyFactoryBean.java
  19. 2
      spring-web/src/main/java/org/springframework/remoting/caucho/HessianServiceExporter.java
  20. 2
      spring-web/src/main/java/org/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor.java
  21. 2
      spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor.java
  22. 2
      spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration.java
  23. 2
      spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerClientInterceptor.java
  24. 2
      spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerProxyFactoryBean.java
  25. 2
      spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerRequestExecutor.java
  26. 2
      spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerServiceExporter.java
  27. 2
      spring-web/src/main/java/org/springframework/remoting/httpinvoker/SimpleHttpInvokerRequestExecutor.java

2
spring-context/src/main/java/org/springframework/remoting/rmi/CodebaseAwareObjectInputStream.java

@ -50,7 +50,7 @@ import org.springframework.lang.Nullable; @@ -50,7 +50,7 @@ import org.springframework.lang.Nullable;
* @see java.rmi.server.RMIClassLoader
* @see RemoteInvocationSerializingExporter#createObjectInputStream
* @see org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor#setCodebaseUrl
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class CodebaseAwareObjectInputStream extends ConfigurableObjectInputStream {

2
spring-context/src/main/java/org/springframework/remoting/rmi/JndiRmiClientInterceptor.java

@ -72,7 +72,7 @@ import org.springframework.util.Assert; @@ -72,7 +72,7 @@ import org.springframework.util.Assert;
* @see org.springframework.remoting.RemoteAccessException
* @see java.rmi.RemoteException
* @see java.rmi.Remote
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class JndiRmiClientInterceptor extends JndiObjectLocator implements MethodInterceptor, InitializingBean {

2
spring-context/src/main/java/org/springframework/remoting/rmi/JndiRmiProxyFactoryBean.java

@ -61,7 +61,7 @@ import org.springframework.util.ClassUtils; @@ -61,7 +61,7 @@ import org.springframework.util.ClassUtils;
* @see java.rmi.RemoteException
* @see java.rmi.Remote
* @see javax.rmi.PortableRemoteObject#narrow
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class JndiRmiProxyFactoryBean extends JndiRmiClientInterceptor

2
spring-context/src/main/java/org/springframework/remoting/rmi/JndiRmiServiceExporter.java

@ -67,7 +67,7 @@ import org.springframework.util.ReflectionUtils; @@ -67,7 +67,7 @@ import org.springframework.util.ReflectionUtils;
* @see JndiRmiClientInterceptor
* @see JndiRmiProxyFactoryBean
* @see javax.rmi.PortableRemoteObject#exportObject
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class JndiRmiServiceExporter extends RmiBasedExporter implements InitializingBean, DisposableBean {

2
spring-context/src/main/java/org/springframework/remoting/rmi/RemoteInvocationSerializingExporter.java

@ -45,7 +45,7 @@ import org.springframework.util.ClassUtils; @@ -45,7 +45,7 @@ import org.springframework.util.ClassUtils;
* @see java.io.ObjectOutputStream
* @see #doReadRemoteInvocation
* @see #doWriteRemoteInvocationResult
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public abstract class RemoteInvocationSerializingExporter extends RemoteInvocationBasedExporter

2
spring-context/src/main/java/org/springframework/remoting/rmi/RmiBasedExporter.java

@ -36,7 +36,7 @@ import org.springframework.remoting.support.RemoteInvocationBasedExporter; @@ -36,7 +36,7 @@ import org.springframework.remoting.support.RemoteInvocationBasedExporter;
* @since 1.2.5
* @see RmiServiceExporter
* @see JndiRmiServiceExporter
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public abstract class RmiBasedExporter extends RemoteInvocationBasedExporter {

2
spring-context/src/main/java/org/springframework/remoting/rmi/RmiClientInterceptor.java

@ -67,7 +67,7 @@ import org.springframework.remoting.support.RemoteInvocationUtils; @@ -67,7 +67,7 @@ import org.springframework.remoting.support.RemoteInvocationUtils;
* @see org.springframework.remoting.RemoteAccessException
* @see java.rmi.RemoteException
* @see java.rmi.Remote
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class RmiClientInterceptor extends RemoteInvocationBasedAccessor

2
spring-context/src/main/java/org/springframework/remoting/rmi/RmiClientInterceptorUtils.java

@ -44,7 +44,7 @@ import org.springframework.util.ReflectionUtils; @@ -44,7 +44,7 @@ import org.springframework.util.ReflectionUtils;
*
* @author Juergen Hoeller
* @since 1.1
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public abstract class RmiClientInterceptorUtils {

2
spring-context/src/main/java/org/springframework/remoting/rmi/RmiInvocationHandler.java

@ -32,7 +32,7 @@ import org.springframework.remoting.support.RemoteInvocation; @@ -32,7 +32,7 @@ import org.springframework.remoting.support.RemoteInvocation;
*
* @author Juergen Hoeller
* @since 14.05.2003
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public interface RmiInvocationHandler extends Remote {

2
spring-context/src/main/java/org/springframework/remoting/rmi/RmiProxyFactoryBean.java

@ -57,7 +57,7 @@ import org.springframework.util.Assert; @@ -57,7 +57,7 @@ import org.springframework.util.Assert;
* @see org.springframework.remoting.RemoteAccessException
* @see org.springframework.remoting.caucho.HessianProxyFactoryBean
* @see org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class RmiProxyFactoryBean extends RmiClientInterceptor implements FactoryBean<Object>, BeanClassLoaderAware {

2
spring-context/src/main/java/org/springframework/remoting/rmi/RmiRegistryFactoryBean.java

@ -60,7 +60,7 @@ import org.springframework.lang.Nullable; @@ -60,7 +60,7 @@ import org.springframework.lang.Nullable;
* @see org.springframework.jmx.support.ConnectorServerFactoryBean
* @see java.rmi.registry.Registry
* @see java.rmi.registry.LocateRegistry
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class RmiRegistryFactoryBean implements FactoryBean<Registry>, InitializingBean, DisposableBean {

2
spring-context/src/main/java/org/springframework/remoting/rmi/RmiServiceExporter.java

@ -65,7 +65,7 @@ import org.springframework.lang.Nullable; @@ -65,7 +65,7 @@ import org.springframework.lang.Nullable;
* @see java.rmi.RemoteException
* @see org.springframework.remoting.caucho.HessianServiceExporter
* @see org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class RmiServiceExporter extends RmiBasedExporter implements InitializingBean, DisposableBean {

2
spring-jms/src/main/java/org/springframework/jms/remoting/JmsInvokerClientInterceptor.java

@ -71,7 +71,7 @@ import org.springframework.util.Assert; @@ -71,7 +71,7 @@ import org.springframework.util.Assert;
* @see #setQueueName
* @see org.springframework.jms.remoting.JmsInvokerServiceExporter
* @see org.springframework.jms.remoting.JmsInvokerProxyFactoryBean
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class JmsInvokerClientInterceptor implements MethodInterceptor, InitializingBean {

2
spring-jms/src/main/java/org/springframework/jms/remoting/JmsInvokerProxyFactoryBean.java

@ -41,7 +41,7 @@ import org.springframework.util.ClassUtils; @@ -41,7 +41,7 @@ import org.springframework.util.ClassUtils;
* @see #setServiceInterface
* @see org.springframework.jms.remoting.JmsInvokerClientInterceptor
* @see org.springframework.jms.remoting.JmsInvokerServiceExporter
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class JmsInvokerProxyFactoryBean extends JmsInvokerClientInterceptor

2
spring-jms/src/main/java/org/springframework/jms/remoting/JmsInvokerServiceExporter.java

@ -51,7 +51,7 @@ import org.springframework.remoting.support.RemoteInvocationResult; @@ -51,7 +51,7 @@ import org.springframework.remoting.support.RemoteInvocationResult;
* @since 2.0
* @see JmsInvokerClientInterceptor
* @see JmsInvokerProxyFactoryBean
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class JmsInvokerServiceExporter extends RemoteInvocationBasedExporter

2
spring-web/src/main/java/org/springframework/remoting/caucho/HessianClientInterceptor.java

@ -63,7 +63,7 @@ import org.springframework.util.Assert; @@ -63,7 +63,7 @@ import org.springframework.util.Assert;
* @see HessianProxyFactoryBean
* @see com.caucho.hessian.client.HessianProxyFactory
* @see com.caucho.hessian.server.HessianServlet
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class HessianClientInterceptor extends UrlBasedRemoteAccessor implements MethodInterceptor {

2
spring-web/src/main/java/org/springframework/remoting/caucho/HessianExporter.java

@ -53,7 +53,7 @@ import org.springframework.util.CommonsLogWriter; @@ -53,7 +53,7 @@ import org.springframework.util.CommonsLogWriter;
* @since 2.5.1
* @see #invoke(java.io.InputStream, java.io.OutputStream)
* @see HessianServiceExporter
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class HessianExporter extends RemoteExporter implements InitializingBean {

2
spring-web/src/main/java/org/springframework/remoting/caucho/HessianProxyFactoryBean.java

@ -40,7 +40,7 @@ import org.springframework.lang.Nullable; @@ -40,7 +40,7 @@ import org.springframework.lang.Nullable;
* @see HessianServiceExporter
* @see org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean
* @see org.springframework.remoting.rmi.RmiProxyFactoryBean
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class HessianProxyFactoryBean extends HessianClientInterceptor implements FactoryBean<Object> {

2
spring-web/src/main/java/org/springframework/remoting/caucho/HessianServiceExporter.java

@ -44,7 +44,7 @@ import org.springframework.web.util.NestedServletException; @@ -44,7 +44,7 @@ import org.springframework.web.util.NestedServletException;
* @see HessianProxyFactoryBean
* @see org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter
* @see org.springframework.remoting.rmi.RmiServiceExporter
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class HessianServiceExporter extends HessianExporter implements HttpRequestHandler {

2
spring-web/src/main/java/org/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor.java

@ -43,7 +43,7 @@ import org.springframework.util.ClassUtils; @@ -43,7 +43,7 @@ import org.springframework.util.ClassUtils;
* @author Juergen Hoeller
* @since 1.1
* @see #doExecuteRequest
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public abstract class AbstractHttpInvokerRequestExecutor implements HttpInvokerRequestExecutor, BeanClassLoaderAware {

2
spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor.java

@ -60,7 +60,7 @@ import org.springframework.util.Assert; @@ -60,7 +60,7 @@ import org.springframework.util.Assert;
* @author Stephane Nicoll
* @since 3.1
* @see org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class HttpComponentsHttpInvokerRequestExecutor extends AbstractHttpInvokerRequestExecutor {

2
spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration.java

@ -25,7 +25,7 @@ import org.springframework.lang.Nullable; @@ -25,7 +25,7 @@ import org.springframework.lang.Nullable;
* @since 1.1
* @see HttpInvokerRequestExecutor
* @see HttpInvokerClientInterceptor
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public interface HttpInvokerClientConfiguration {

2
spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerClientInterceptor.java

@ -69,7 +69,7 @@ import org.springframework.remoting.support.RemoteInvocationResult; @@ -69,7 +69,7 @@ import org.springframework.remoting.support.RemoteInvocationResult;
* @see HttpInvokerServiceExporter
* @see HttpInvokerProxyFactoryBean
* @see java.rmi.server.RMIClassLoader
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class HttpInvokerClientInterceptor extends RemoteInvocationBasedAccessor

2
spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerProxyFactoryBean.java

@ -53,7 +53,7 @@ import org.springframework.util.Assert; @@ -53,7 +53,7 @@ import org.springframework.util.Assert;
* @see HttpInvokerServiceExporter
* @see org.springframework.remoting.rmi.RmiProxyFactoryBean
* @see org.springframework.remoting.caucho.HessianProxyFactoryBean
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class HttpInvokerProxyFactoryBean extends HttpInvokerClientInterceptor implements FactoryBean<Object> {

2
spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerRequestExecutor.java

@ -40,7 +40,7 @@ import org.springframework.remoting.support.RemoteInvocationResult; @@ -40,7 +40,7 @@ import org.springframework.remoting.support.RemoteInvocationResult;
* @author Juergen Hoeller
* @since 1.1
* @see HttpInvokerClientInterceptor#setHttpInvokerRequestExecutor
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
@FunctionalInterface

2
spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerServiceExporter.java

@ -57,7 +57,7 @@ import org.springframework.web.util.NestedServletException; @@ -57,7 +57,7 @@ import org.springframework.web.util.NestedServletException;
* @see HttpInvokerProxyFactoryBean
* @see org.springframework.remoting.rmi.RmiServiceExporter
* @see org.springframework.remoting.caucho.HessianServiceExporter
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class HttpInvokerServiceExporter extends org.springframework.remoting.rmi.RemoteInvocationSerializingExporter implements HttpRequestHandler {

2
spring-web/src/main/java/org/springframework/remoting/httpinvoker/SimpleHttpInvokerRequestExecutor.java

@ -41,7 +41,7 @@ import org.springframework.remoting.support.RemoteInvocationResult; @@ -41,7 +41,7 @@ import org.springframework.remoting.support.RemoteInvocationResult;
* @author Juergen Hoeller
* @since 1.1
* @see java.net.HttpURLConnection
* @deprecated as of 5.3.0 with no replacement.
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
public class SimpleHttpInvokerRequestExecutor extends AbstractHttpInvokerRequestExecutor {

Loading…
Cancel
Save