Package com.narirelays.ems.services

Examples of com.narirelays.ems.services.MaintainMeasurePoints4WinccService


//    }


   
    if(StorageService.ctx.containsBean("maintainMeasurePoints4WinccService")){
      MaintainMeasurePoints4WinccService winccMeasurePointsService = (MaintainMeasurePoints4WinccService)StorageService
                                    .ctx.getBean("maintainMeasurePoints4WinccService");
      if(isSystemProperty("REFRESH_WINCC_MEASURE_WHEN_START")){
        winccMeasurePointsService.maintainMeasurePointsAndSaveLog();
      }
      if(isSystemProperty("REFRESH_INDEX_WHEN_START"))
      {
        winccMeasurePointsService.maintainIndex4WinccOnStart();
      }
    }
    // LuceneSupport.optimize();
    // System.out.println(WebVariable.appPath+WebVariable.indexPath);
    if(StorageService.ctx.containsBean("privilegeManagementService")){
View Full Code Here


  public void maintain()
  {
    LOG.info("Maintaining Wincc Index!");
    if(StorageService.ctx.containsBean("maintainMeasurePoints4WinccService"))
    {
      MaintainMeasurePoints4WinccService service = (MaintainMeasurePoints4WinccService)StorageService.ctx.getBean("maintainMeasurePoints4WinccService");
      if(service.maintainIndex4Wincc()==true)
      {
        LOG.info("Wincc Index update succeed!");
      }
      else
      {
View Full Code Here

  public void myexecute(JobExecutionContext contextthrows JobExecutionException
  {
    // TODO Auto-generated method stub
    if(StorageService.ctx.containsBean("maintainMeasurePoints4WinccService"))
    {
      MaintainMeasurePoints4WinccService service = (MaintainMeasurePoints4WinccService)StorageService.ctx.getBean("maintainMeasurePoints4WinccService");
      if(service.maintainMeasurePointsAndSaveLog()==true)
      {
        LOG.info("Wincc MeasurePoints update succeed!");
      }
      else
      {
View Full Code Here

TOP

Related Classes of com.narirelays.ems.services.MaintainMeasurePoints4WinccService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.