cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1350751 - /cxf/branches/2.6.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java
Date Fri, 15 Jun 2012 19:36:39 GMT
Author: dkulp
Date: Fri Jun 15 19:36:38 2012
New Revision: 1350751

URL: http://svn.apache.org/viewvc?rev=1350751&view=rev
Log:
Merged revisions 1350739 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1350739 | dkulp | 2012-06-15 15:00:22 -0400 (Fri, 15 Jun 2012) | 2 lines

  The managers will grab these and auto-register them.

........

Modified:
    cxf/branches/2.6.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java

Modified: cxf/branches/2.6.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java?rev=1350751&r1=1350750&r2=1350751&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java
(original)
+++ cxf/branches/2.6.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java
Fri Jun 15 19:36:38 2012
@@ -22,13 +22,10 @@ package org.apache.cxf.ws.security.cache
 import java.io.Closeable;
 import java.io.IOException;
 
-import org.apache.cxf.Bus;
 import org.apache.cxf.endpoint.Client;
 import org.apache.cxf.endpoint.ClientLifeCycleListener;
-import org.apache.cxf.endpoint.ClientLifeCycleManager;
 import org.apache.cxf.endpoint.Server;
 import org.apache.cxf.endpoint.ServerLifeCycleListener;
-import org.apache.cxf.endpoint.ServerLifeCycleManager;
 import org.apache.cxf.service.model.EndpointInfo;
 import org.apache.cxf.ws.security.SecurityConstants;
 import org.apache.cxf.ws.security.tokenstore.TokenStore;
@@ -39,16 +36,9 @@ import org.apache.ws.security.cache.Repl
  */
 public class CacheCleanupListener implements ServerLifeCycleListener, ClientLifeCycleListener
{
     
-    public CacheCleanupListener(Bus b) {
-        ServerLifeCycleManager m = b.getExtension(ServerLifeCycleManager.class);
-        if (m != null) {
-            m.registerListener(this);
-        }
-        ClientLifeCycleManager cm = b.getExtension(ClientLifeCycleManager.class);
-        if (cm != null) {
-            cm.registerListener(this);
-        }
+    public CacheCleanupListener() {
     }
+    
     public void clientCreated(Client client) {
     }
     public void startServer(Server server) {



Mime
View raw message