@Override
 protected void init() throws Exception {
   super.init();
   this._statMonitor =
       (StatsMonitor)
           this.getApplicationContext()
               .getBean(JpStatsSystemConstants.STATS_MONITOR_CONTROL_SERVICE);
 }
 protected void tearDown() throws Exception {
   try {
     DataSource dataSource = (DataSource) this.getApplicationContext().getBean("portDataSource");
     TestStatsUtils.cleanDB(ip, dataSource);
     this._statMonitor = null;
     super.tearDown();
   } catch (Throwable t) {
     throw new Exception(t);
   }
 }