Deprecate remoting technologies support

Because of security and broader industry support, support for several
remoting technologies is now deprecated and scheduled for removal in
Spring Framework 6.0.

This commit deprecates the following remoting technologies:

* HTTPInvoker
* RMI
* Hessian
* JMS remoting

Other remoting technologies like EJB or JAXWS might be deprecated in the
future depending on industry support.

Closes gh-25379
This commit is contained in:
Brian Clozel
2020-07-10 12:04:24 +02:00
parent 92cdf526fb
commit d9ccd618ea
32 changed files with 858 additions and 791 deletions

View File

@@ -71,7 +71,9 @@ 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
public class JmsInvokerClientInterceptor implements MethodInterceptor, InitializingBean {
@Nullable

View File

@@ -41,7 +41,9 @@ 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
public class JmsInvokerProxyFactoryBean extends JmsInvokerClientInterceptor
implements FactoryBean<Object>, BeanClassLoaderAware {

View File

@@ -51,7 +51,9 @@ import org.springframework.remoting.support.RemoteInvocationResult;
* @since 2.0
* @see JmsInvokerClientInterceptor
* @see JmsInvokerProxyFactoryBean
* @deprecated as of 5.3.0 with no replacement.
*/
@Deprecated
public class JmsInvokerServiceExporter extends RemoteInvocationBasedExporter
implements SessionAwareMessageListener<Message>, InitializingBean {