Author: manik.surtani(a)jboss.com
Date: 2008-06-28 07:25:55 -0400 (Sat, 28 Jun 2008)
New Revision: 6117
Modified:
core/trunk/src/test/java/org/jboss/cache/demo/JBossCacheView.java
Log:
Added extension point
Modified: core/trunk/src/test/java/org/jboss/cache/demo/JBossCacheView.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/demo/JBossCacheView.java 2008-06-28 11:23:52
UTC (rev 6116)
+++ core/trunk/src/test/java/org/jboss/cache/demo/JBossCacheView.java 2008-06-28 11:25:55
UTC (rev 6117)
@@ -107,7 +107,7 @@
{
log.info("start(): creating the GUI");
System.out.println("start(): creating the GUI");
- gui = new JBossCacheGUI(cacheModelDelegate, useConsole);
+ gui = createGUI(cacheModelDelegate, useConsole);
}
}
@@ -182,6 +182,11 @@
return delegate;
}
+ protected JBossCacheGUI createGUI(CacheModelDelegate delegate, boolean useConsole)
throws Exception
+ {
+ return new JBossCacheGUI(delegate, useConsole);
+ }
+
private static void help()
{
System.out.println("JBossCacheView [-help] " +
Show replies by date