cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r541519 - /incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
Date Fri, 25 May 2007 03:21:19 GMT
Author: ffang
Date: Thu May 24 20:21:19 2007
New Revision: 541519

URL: http://svn.apache.org/viewvc?view=rev&rev=541519
Log:
[CXF-683] apply patch provided by Florent BENOIT

Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java?view=diff&rev=541519&r1=541518&r2=541519
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
Thu May 24 20:21:19 2007
@@ -153,6 +153,14 @@
         return implementor;
     }
 
+    /**
+     * Gets the class of the implementor.
+     * @return the class of the implementor object
+     */
+    public Class getImplementorClass() {
+        return implementor.getClass();
+    }
+
     public List<Source> getMetadata() {
         return metadata;
     }
@@ -255,7 +263,7 @@
 
             // Initialize the endpointName so we can do configureObject
             if (endpointName == null) {
-                JaxWsImplementorInfo implInfo = new JaxWsImplementorInfo(implementor.getClass());
+                JaxWsImplementorInfo implInfo = new JaxWsImplementorInfo(getImplementorClass());
                 endpointName = implInfo.getEndpointName();
             }
 
@@ -357,7 +365,7 @@
         LOG.fine("loading handler chain for endpoint");
         AnnotationHandlerChainBuilder builder = new AnnotationHandlerChainBuilder();
 
-        List<Handler> chain = builder.buildHandlerChainFromClass(implementor.getClass(),
endpointName);
+        List<Handler> chain = builder.buildHandlerChainFromClass(getImplementorClass(),
endpointName);
         for (Handler h : chain) {
             injectResources(h);
         }



Mime
View raw message