geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r557858 - /geronimo/server/trunk/modules/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client/JAXWSServiceReference.java
Date Fri, 20 Jul 2007 03:17:49 GMT
Author: gawor
Date: Thu Jul 19 20:17:49 2007
New Revision: 557858

URL: http://svn.apache.org/viewvc?view=rev&rev=557858
Log:
let subclasses pass their own PortMethodInterceptor

Modified:
    geronimo/server/trunk/modules/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client/JAXWSServiceReference.java

Modified: geronimo/server/trunk/modules/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client/JAXWSServiceReference.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client/JAXWSServiceReference.java?view=diff&rev=557858&r1=557857&r2=557858
==============================================================================
--- geronimo/server/trunk/modules/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client/JAXWSServiceReference.java
(original)
+++ geronimo/server/trunk/modules/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client/JAXWSServiceReference.java
Thu Jul 19 20:17:49 2007
@@ -144,8 +144,12 @@
 
     protected abstract HandlerResolver getHandlerResolver(Class serviceClass);
 
+    protected PortMethodInterceptor getPortMethodInterceptor() {
+        return new PortMethodInterceptor(this.seiInfoMap);
+    }
+    
     private Service createServiceProxy(Class superClass, ClassLoader classLoader, QName serviceName,
URL wsdlLocation) throws NamingException {
-        Callback callback = new PortMethodInterceptor(this.seiInfoMap);
+        Callback callback = getPortMethodInterceptor();
         Callback[] methodInterceptors = new Callback[]{NoOp.INSTANCE, callback};
 
         Enhancer enhancer = new Enhancer();



Mime
View raw message