1 29 package net.sourceforge.groboutils.pmti.v1.autodoc.v1; 30 31 32 import net.sourceforge.groboutils.autodoc.v1.testserver.MonitorFinder; 33 import net.sourceforge.groboutils.autodoc.v1.testserver.Monitor; 34 35 import net.sourceforge.groboutils.util.classes.v1.SingletonStore; 36 37 38 45 public class ITFMonitorFinder implements MonitorFinder 46 { 47 public static final String MONITOR_PROPERTY_NAME = 48 ITFMonitor.class.getName() + ".implementation"; 49 public static final Class DEFAULT_MONITOR = ITFMonitor.class; 50 51 private static final SingletonStore s_monitorStore = new SingletonStore( 52 Monitor.class, DEFAULT_MONITOR, MONITOR_PROPERTY_NAME ); 53 54 55 58 public Monitor getMonitor() 59 { 60 return (Monitor)getMonitorStore().getSingleton(); 61 } 62 63 64 67 71 public static SingletonStore getMonitorStore() 72 { 73 return s_monitorStore; 74 } 75 } 76 77 | Popular Tags |