From a83756f771e04743477e624b8fb9514c074d9412 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Tue, 20 Oct 2009 18:35:35 +0000 Subject: [PATCH] deprecated remoting support for JAX-RPC (in favor of JAX-WS) --- .../remoting/jaxrpc/JaxRpcPortClientInterceptor.java | 4 +++- .../remoting/jaxrpc/JaxRpcPortProxyFactoryBean.java | 2 ++ .../remoting/jaxrpc/JaxRpcServicePostProcessor.java | 4 +++- .../remoting/jaxrpc/JaxRpcSoapFaultException.java | 4 +++- .../remoting/jaxrpc/LocalJaxRpcServiceFactory.java | 4 +++- .../remoting/jaxrpc/LocalJaxRpcServiceFactoryBean.java | 2 ++ .../remoting/jaxrpc/ServletEndpointSupport.java | 5 +++-- 7 files changed, 19 insertions(+), 6 deletions(-) diff --git a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcPortClientInterceptor.java b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcPortClientInterceptor.java index 2f6822b690e..4fd4047ae76 100644 --- a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcPortClientInterceptor.java +++ b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcPortClientInterceptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,7 +73,9 @@ import org.springframework.util.ReflectionUtils; * @see javax.xml.rpc.Service#getPort * @see org.springframework.remoting.RemoteAccessException * @see org.springframework.jndi.JndiObjectFactoryBean + * @deprecated in favor of JAX-WS support in org.springframework.remoting.jaxws */ +@Deprecated public class JaxRpcPortClientInterceptor extends LocalJaxRpcServiceFactory implements MethodInterceptor, InitializingBean { diff --git a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcPortProxyFactoryBean.java b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcPortProxyFactoryBean.java index d8f37520e3d..45c5e8d9fe1 100644 --- a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcPortProxyFactoryBean.java +++ b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcPortProxyFactoryBean.java @@ -43,7 +43,9 @@ import org.springframework.util.ClassUtils; * @see #setServiceInterface * @see #setPortInterface * @see LocalJaxRpcServiceFactoryBean + * @deprecated in favor of JAX-WS support in org.springframework.remoting.jaxws */ +@Deprecated public class JaxRpcPortProxyFactoryBean extends JaxRpcPortClientInterceptor implements FactoryBean, BeanClassLoaderAware { diff --git a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcServicePostProcessor.java b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcServicePostProcessor.java index 8ef0fe0631d..500741c1285 100644 --- a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcServicePostProcessor.java +++ b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcServicePostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2007 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,9 @@ import javax.xml.rpc.Service; * @see JaxRpcPortClientInterceptor#setServicePostProcessors * @see JaxRpcPortProxyFactoryBean#setServicePostProcessors * @see javax.xml.rpc.Service#getTypeMappingRegistry + * @deprecated in favor of JAX-WS support in org.springframework.remoting.jaxws */ +@Deprecated public interface JaxRpcServicePostProcessor { /** diff --git a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcSoapFaultException.java b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcSoapFaultException.java index fe888725306..acd91b6663b 100644 --- a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcSoapFaultException.java +++ b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/JaxRpcSoapFaultException.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2007 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,7 +27,9 @@ import org.springframework.remoting.soap.SoapFaultException; * * @author Juergen Hoeller * @since 2.5 + * @deprecated in favor of JAX-WS support in org.springframework.remoting.jaxws */ +@Deprecated public class JaxRpcSoapFaultException extends SoapFaultException { /** diff --git a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/LocalJaxRpcServiceFactory.java b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/LocalJaxRpcServiceFactory.java index 3c351552651..bdedae20f3c 100644 --- a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/LocalJaxRpcServiceFactory.java +++ b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/LocalJaxRpcServiceFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2007 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,7 +43,9 @@ import org.springframework.beans.BeanUtils; * @see LocalJaxRpcServiceFactoryBean * @see JaxRpcPortClientInterceptor * @see JaxRpcPortProxyFactoryBean + * @deprecated in favor of JAX-WS support in org.springframework.remoting.jaxws */ +@Deprecated public class LocalJaxRpcServiceFactory { /** Logger available to subclasses */ diff --git a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/LocalJaxRpcServiceFactoryBean.java b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/LocalJaxRpcServiceFactoryBean.java index 1559e077bc1..c5dfe43c9cd 100644 --- a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/LocalJaxRpcServiceFactoryBean.java +++ b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/LocalJaxRpcServiceFactoryBean.java @@ -35,7 +35,9 @@ import org.springframework.beans.factory.InitializingBean; * @see javax.xml.rpc.Service * @see org.springframework.jndi.JndiObjectFactoryBean * @see JaxRpcPortProxyFactoryBean + * @deprecated in favor of JAX-WS support in org.springframework.remoting.jaxws */ +@Deprecated public class LocalJaxRpcServiceFactoryBean extends LocalJaxRpcServiceFactory implements FactoryBean, InitializingBean { diff --git a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/ServletEndpointSupport.java b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/ServletEndpointSupport.java index 4755de6d174..d2fcaf921fe 100644 --- a/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/ServletEndpointSupport.java +++ b/org.springframework.web/src/main/java/org/springframework/remoting/jaxrpc/ServletEndpointSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2007 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,7 +17,6 @@ package org.springframework.remoting.jaxrpc; import java.io.File; - import javax.servlet.ServletContext; import javax.xml.rpc.ServiceException; import javax.xml.rpc.server.ServiceLifecycle; @@ -57,7 +56,9 @@ import org.springframework.web.util.WebUtils; * @since 16.12.2003 * @see #init * @see #getWebApplicationContext + * @deprecated in favor of JAX-WS support in org.springframework.remoting.jaxws */ +@Deprecated public abstract class ServletEndpointSupport implements ServiceLifecycle { protected final Log logger = LogFactory.getLog(getClass());