Exemplo n.º 1
0
 protected void setUp() throws Exception {
   super.setUp();
   //    ds = new DaemonStatus();
   statSvc = theDaemon.getStatusService();
   ssi = (StatusServiceImpl) statSvc;
   ssi.startService();
 }
Exemplo n.º 2
0
 protected void initServletRunner() {
   super.initServletRunner();
   sRunner.registerServlet("/DaemonStatus", DaemonStatus.class.getName());
   // DaemonStatus wants there to be a local ip address
   ConfigurationUtil.setFromArgs(LockssServlet.PARAM_LOCAL_IP, "2.4.6.8");
 }