Author: manik.surtani(a)jboss.com
Date: 2008-06-28 07:23:52 -0400 (Sat, 28 Jun 2008)
New Revision: 6116
Modified:
core/branches/2.2.X/src/test/java/org/jboss/cache/demo/JBossCacheView.java
Log:
added extension point
Modified: core/branches/2.2.X/src/test/java/org/jboss/cache/demo/JBossCacheView.java
===================================================================
--- core/branches/2.2.X/src/test/java/org/jboss/cache/demo/JBossCacheView.java 2008-06-28
01:08:31 UTC (rev 6115)
+++ core/branches/2.2.X/src/test/java/org/jboss/cache/demo/JBossCacheView.java 2008-06-28
11:23:52 UTC (rev 6116)
@@ -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