cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1231203 - /cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/ExportRegistrationImpl.java
Date Fri, 13 Jan 2012 17:36:19 GMT
Author: sergeyb
Date: Fri Jan 13 17:36:18 2012
New Revision: 1231203

URL: http://svn.apache.org/viewvc?rev=1231203&view=rev
Log:
Stopping the Server when the endpoint ref is closed

Modified:
    cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/ExportRegistrationImpl.java

Modified: cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/ExportRegistrationImpl.java
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/ExportRegistrationImpl.java?rev=1231203&r1=1231202&r2=1231203&view=diff
==============================================================================
--- cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/ExportRegistrationImpl.java
(original)
+++ cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/service/ExportRegistrationImpl.java
Fri Jan 13 17:36:18 2012
@@ -87,6 +87,10 @@ public class ExportRegistrationImpl impl
         rsaCore.removeExportRegistration(this);
         
         parent.instanceClosed();
+        if (server != null) {
+        	server.stop();
+        	server = null;
+        }
     }
 
     private synchronized void instanceClosed() {



Mime
View raw message