You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ng...@apache.org on 2007/02/18 21:26:24 UTC
svn commit: r508983 - in
/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws:
JAXWSClientContext.java spi/ServiceDelegate.java
Author: ngallardo
Date: Sun Feb 18 12:26:24 2007
New Revision: 508983
URL: http://svn.apache.org/viewvc?view=rev&rev=508983
Log:
More stale code cleanup
Removed:
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/JAXWSClientContext.java
Modified:
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/spi/ServiceDelegate.java
Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/spi/ServiceDelegate.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/spi/ServiceDelegate.java?view=diff&rev=508983&r1=508982&r2=508983
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/spi/ServiceDelegate.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/spi/ServiceDelegate.java Sun Feb 18 12:26:24 2007
@@ -44,7 +44,6 @@
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.java.security.AccessController;
import org.apache.axis2.jaxws.ExceptionFactory;
-import org.apache.axis2.jaxws.JAXWSClientContext;
import org.apache.axis2.jaxws.client.JAXBDispatch;
import org.apache.axis2.jaxws.client.XMLDispatch;
import org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler;
@@ -160,9 +159,6 @@
addBinding(endpointDesc.getClientBindingID());
- JAXWSClientContext clientCtx = createClientContext(endpointDesc, Object.class, mode);
- clientCtx.setJAXBContext(context);
-
JAXBDispatch<Object> dispatch = new JAXBDispatch(this, endpointDesc);
if (mode != null) {
@@ -313,16 +309,6 @@
//TODO: Need to make the default number of threads configurable
private Executor getDefaultExecutor(){
return Executors.newFixedThreadPool(20, new JAXWSThreadFactory());
- }
-
- private <T> JAXWSClientContext<T> createClientContext(EndpointDescription epDesc, Class<T> clazz, Mode mode){
- JAXWSClientContext<T> clientContext = new JAXWSClientContext<T>();
- clientContext.setServiceDescription(serviceDescription);
- clientContext.setEndpointDescription(epDesc);
- clientContext.setClazz(clazz);
- clientContext.setServiceMode(mode);
- clientContext.setExecutor(this.getExecutor());
- return clientContext;
}
private boolean isValidServiceName(){
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org