Commits

ltor...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed 2b5dba2

Issue number: CACHE-200 method getCacheEventListenerList added
Submitted by: Lars Torunski

  • Participants
  • Parent commits 80456b3

Comments (0)

Files changed (1)

File src/java/com/opensymphony/oscache/base/Cache.java

             log.error("The class '" + clazz.getName() + "' is not a CacheEventListener. Ignoring this listener.");
         }
     }
+    
+    /**
+     * Returns the list of all CacheEventListeners.
+     * @return the CacheEventListener's list of the Cache
+     */
+    public EventListenerList getCacheEventListenerList() {
+        return listenerList;
+    }
 
     /**
      * Cancels any pending update for this cache entry. This should <em>only</em>