@ -77,10 +78,9 @@ public class JndiRmiProxyFactoryBean extends JndiRmiClientInterceptor
@@ -77,10 +78,9 @@ public class JndiRmiProxyFactoryBean extends JndiRmiClientInterceptor
@ -107,7 +107,9 @@ public abstract class RemoteInvocationSerializingExporter extends RemoteInvocati
@@ -107,7 +107,9 @@ public abstract class RemoteInvocationSerializingExporter extends RemoteInvocati
}
protectedfinalObjectgetProxy(){
Assert.notNull(this.proxy,ClassUtils.getShortName(getClass())+" has not been initialized");
if(this.proxy==null){
thrownewIllegalStateException(ClassUtils.getShortName(getClass())+" has not been initialized");
}
returnthis.proxy;
}
@ -142,7 +144,7 @@ public abstract class RemoteInvocationSerializingExporter extends RemoteInvocati
@@ -142,7 +144,7 @@ public abstract class RemoteInvocationSerializingExporter extends RemoteInvocati
Objectobj=ois.readObject();
if(!(objinstanceofRemoteInvocation)){
thrownewRemoteException("Deserialized object needs to be assignable to type ["+
@ -59,9 +59,7 @@ public class JmsInvokerProxyFactoryBean extends JmsInvokerClientInterceptor
@@ -59,9 +59,7 @@ public class JmsInvokerProxyFactoryBean extends JmsInvokerClientInterceptor
Assert.notNull(serviceInterface,"'serviceInterface' must not be null");
if(!serviceInterface.isInterface()){
thrownewIllegalArgumentException("'serviceInterface' must be an interface");
}
Assert.isTrue(serviceInterface.isInterface(),"'serviceInterface' must be an interface");
this.serviceInterface=serviceInterface;
}
@ -73,9 +71,7 @@ public class JmsInvokerProxyFactoryBean extends JmsInvokerClientInterceptor
@@ -73,9 +71,7 @@ public class JmsInvokerProxyFactoryBean extends JmsInvokerClientInterceptor
@Override
publicvoidafterPropertiesSet(){
super.afterPropertiesSet();
if(this.serviceInterface==null){
thrownewIllegalArgumentException("Property 'serviceInterface' is required");
}
Assert.notNull(this.serviceInterface,"Property 'serviceInterface' is required");
@ -291,7 +292,7 @@ public abstract class AbstractHttpInvokerRequestExecutor implements HttpInvokerR
@@ -291,7 +292,7 @@ public abstract class AbstractHttpInvokerRequestExecutor implements HttpInvokerR
Objectobj=ois.readObject();
if(!(objinstanceofRemoteInvocationResult)){
thrownewRemoteException("Deserialized object needs to be assignable to type ["+
@ -212,10 +212,12 @@ public class HttpComponentsHttpInvokerRequestExecutor extends AbstractHttpInvoke
@@ -212,10 +212,12 @@ public class HttpComponentsHttpInvokerRequestExecutor extends AbstractHttpInvoke
@ -223,9 +225,11 @@ public class HttpComponentsHttpInvokerRequestExecutor extends AbstractHttpInvoke
@@ -223,9 +225,11 @@ public class HttpComponentsHttpInvokerRequestExecutor extends AbstractHttpInvoke
@ -250,9 +254,10 @@ public class HttpComponentsHttpInvokerRequestExecutor extends AbstractHttpInvoke
@@ -250,9 +254,10 @@ public class HttpComponentsHttpInvokerRequestExecutor extends AbstractHttpInvoke
@ -60,10 +61,9 @@ public class HttpInvokerProxyFactoryBean extends HttpInvokerClientInterceptor im
@@ -60,10 +61,9 @@ public class HttpInvokerProxyFactoryBean extends HttpInvokerClientInterceptor im
@Override
publicvoidafterPropertiesSet(){
super.afterPropertiesSet();
if(getServiceInterface()==null){
thrownewIllegalArgumentException("Property 'serviceInterface' is required");
@ -107,7 +107,8 @@ public class SimpleHttpInvokerRequestExecutor extends AbstractHttpInvokerRequest
@@ -107,7 +107,8 @@ public class SimpleHttpInvokerRequestExecutor extends AbstractHttpInvokerRequest
thrownewIOException("Service URL ["+config.getServiceUrl()+"] is not an HTTP URL");
thrownewIOException(
"Service URL ["+config.getServiceUrl()+"] does not resolve to an HTTP connection");
}
return(HttpURLConnection)con;
}
@ -130,6 +131,7 @@ public class SimpleHttpInvokerRequestExecutor extends AbstractHttpInvokerRequest
@@ -130,6 +131,7 @@ public class SimpleHttpInvokerRequestExecutor extends AbstractHttpInvokerRequest
@ -142,6 +144,7 @@ public class SimpleHttpInvokerRequestExecutor extends AbstractHttpInvokerRequest
@@ -142,6 +144,7 @@ public class SimpleHttpInvokerRequestExecutor extends AbstractHttpInvokerRequest
@ -278,16 +278,14 @@ public class JaxWsPortClientInterceptor extends LocalJaxWsServiceFactory
@@ -278,16 +278,14 @@ public class JaxWsPortClientInterceptor extends LocalJaxWsServiceFactory