[jboss-cvs] JBossCache/src/org/jboss/cache/pojo/demo ...
Jason Thomas Greene
jgreene at jboss.com
Thu Aug 2 02:51:45 EDT 2007
User: jgreene
Date: 07/08/02 02:51:44
Modified: src/org/jboss/cache/pojo/demo PojoCacheGUI.java
PojoCacheView.java
Log:
Fix demo
Revision Changes Path
1.3 +2 -0 JBossCache/src/org/jboss/cache/pojo/demo/PojoCacheGUI.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCacheGUI.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/demo/PojoCacheGUI.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- PojoCacheGUI.java 23 May 2007 10:28:57 -0000 1.2
+++ PojoCacheGUI.java 2 Aug 2007 06:51:44 -0000 1.3
@@ -4,6 +4,7 @@
import bsh.Interpreter;
import org.jboss.cache.demo.CacheModelDelegate;
import org.jboss.cache.demo.JBossCacheGUI;
+import org.jboss.cache.notifications.annotation.CacheListener;
import java.util.Map;
import java.util.TreeMap;
@@ -13,6 +14,7 @@
*
* @author <a href="mailto:galder.zamarreno at jboss.com">Galder Zamarreno</a>
*/
+ at CacheListener
public class PojoCacheGUI extends JBossCacheGUI
{
public PojoCacheGUI(CacheModelDelegate cacheDelegate, boolean useConsole)
1.3 +1 -0 JBossCache/src/org/jboss/cache/pojo/demo/PojoCacheView.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCacheView.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/demo/PojoCacheView.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- PojoCacheView.java 23 May 2007 10:28:57 -0000 1.2
+++ PojoCacheView.java 2 Aug 2007 06:51:44 -0000 1.3
@@ -45,6 +45,7 @@
catch (Exception ex)
{
log.error("Cannot start up!!", ex);
+ System.exit(-1);
}
}
}
More information about the jboss-cvs-commits
mailing list