Author: navssurtani
Date: 2008-07-03 11:27:48 -0400 (Thu, 03 Jul 2008)
New Revision: 6163
Modified:
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheFactory.java
Log:
line 64 in SCF changed. Only constructs a Core listener
Modified:
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheFactory.java
===================================================================
---
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheFactory.java 2008-07-03
15:04:40 UTC (rev 6162)
+++
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheFactory.java 2008-07-03
15:27:48 UTC (rev 6163)
@@ -59,7 +59,9 @@
boolean isPojoCache = c instanceof PojoCache;
// Step 2: Add cache listener to listen for events happening in the cache.
- SearchableListener listener = isPojoCache ? new
SearchablePojoListener(searchFactory) : new SearchableCoreListener(searchFactory);
+ //SearchableListener listener = isPojoCache ? new
SearchablePojoListener(searchFactory) : new SearchableCoreListener(searchFactory);
+
+ SearchableCoreListener listener = new SearchableCoreListener(searchFactory);
c.addCacheListener(listener);
Show replies by date