[jbosscache-commits] JBoss Cache SVN: r7620 - core/branches/flat/src/main/java/org/horizon/notifications/cachemanagerlistener.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Fri Jan 30 19:36:37 EST 2009


Author: manik.surtani at jboss.com
Date: 2009-01-30 19:36:37 -0500 (Fri, 30 Jan 2009)
New Revision: 7620

Modified:
   core/branches/flat/src/main/java/org/horizon/notifications/cachemanagerlistener/CacheManagerNotifier.java
   core/branches/flat/src/main/java/org/horizon/notifications/cachemanagerlistener/CacheManagerNotifierImpl.java
Log:
Started work on notifications

Modified: core/branches/flat/src/main/java/org/horizon/notifications/cachemanagerlistener/CacheManagerNotifier.java
===================================================================
--- core/branches/flat/src/main/java/org/horizon/notifications/cachemanagerlistener/CacheManagerNotifier.java	2009-01-31 00:34:44 UTC (rev 7619)
+++ core/branches/flat/src/main/java/org/horizon/notifications/cachemanagerlistener/CacheManagerNotifier.java	2009-01-31 00:36:37 UTC (rev 7620)
@@ -1,8 +1,5 @@
 package org.horizon.notifications.cachemanagerlistener;
 
-import org.horizon.factories.annotations.NonVolatile;
-import org.horizon.factories.scopes.Scope;
-import org.horizon.factories.scopes.Scopes;
 import org.horizon.notifications.Listenable;
 import org.horizon.remoting.transport.Address;
 
@@ -14,8 +11,6 @@
  * @author Manik Surtani
  * @since 1.0
  */
- at NonVolatile
- at Scope(Scopes.GLOBAL)
 public interface CacheManagerNotifier extends Listenable {
    /**
     * Notifies all registered listeners of a viewChange event.  Note that viewChange notifications are ALWAYS sent

Modified: core/branches/flat/src/main/java/org/horizon/notifications/cachemanagerlistener/CacheManagerNotifierImpl.java
===================================================================
--- core/branches/flat/src/main/java/org/horizon/notifications/cachemanagerlistener/CacheManagerNotifierImpl.java	2009-01-31 00:34:44 UTC (rev 7619)
+++ core/branches/flat/src/main/java/org/horizon/notifications/cachemanagerlistener/CacheManagerNotifierImpl.java	2009-01-31 00:36:37 UTC (rev 7620)
@@ -1,5 +1,8 @@
 package org.horizon.notifications.cachemanagerlistener;
 
+import org.horizon.factories.annotations.NonVolatile;
+import org.horizon.factories.scopes.Scope;
+import org.horizon.factories.scopes.Scopes;
 import org.horizon.remoting.transport.Address;
 
 import java.util.List;
@@ -11,6 +14,8 @@
  * @author Manik Surtani
  * @since 1.0
  */
+ at NonVolatile
+ at Scope(Scopes.GLOBAL)
 public class CacheManagerNotifierImpl implements CacheManagerNotifier {
 
    public void notifyViewChange(List<Address> members, Address myAddress) {




More information about the jbosscache-commits mailing list