Ejemplo n.º 1
0
  /*
  	@Bean
  	public EgovIdGnrStrategy fileSysMntrngLogIdStrategy() {

  		EgovIdGnrStrategyImpl strategy = new EgovIdGnrStrategyImpl();
  		strategy.setPrefix("");
  		strategy.setCipers(20);
  		strategy.setFillChar('0');

  		return strategy;
  	}
  */
  @Bean(destroyMethod = "destroy")
  public EgovIdGnrService fileSysMntrngLogIdGnrService() {

    EgovIdGnrStrategyImpl strategy = new EgovIdGnrStrategyImpl();
    strategy.setPrefix("");
    strategy.setCipers(20);
    strategy.setFillChar('0');

    EgovTableIdGnrServiceImpl idGnrService = new EgovTableIdGnrServiceImpl();
    idGnrService.setDataSource(dataSource);
    //		idGnrService.setStrategy(fileSysMntrngLogIdStrategy());
    idGnrService.setStrategy(strategy);
    idGnrService.setBlockSize(1);
    idGnrService.setTable("COMTE_COPSEQ");
    idGnrService.setTableName("FILESYS_LOG_ID");

    return idGnrService;
  }
Ejemplo n.º 2
0
  /*
  	@Bean
  	public EgovIdGnrStrategy ctsnnManageIdStrategy() {

  		EgovIdGnrStrategyImpl strategy = new EgovIdGnrStrategyImpl();
  		strategy.setPrefix("CTSNN_");
  		strategy.setCipers(14);
  		strategy.setFillChar('0');

  		return strategy;
  	}
  */
  @Bean(destroyMethod = "destroy")
  public EgovIdGnrService ctsnnManageIdGnrService() {

    EgovIdGnrStrategyImpl strategy = new EgovIdGnrStrategyImpl();
    strategy.setPrefix("CTSNN_");
    strategy.setCipers(14);
    strategy.setFillChar('0');

    EgovTableIdGnrServiceImpl idGnrService = new EgovTableIdGnrServiceImpl();
    idGnrService.setDataSource(dataSource);
    //		idGnrService.setStrategy(ctsnnManageIdStrategy());
    idGnrService.setStrategy(strategy);
    idGnrService.setBlockSize(1);
    idGnrService.setTable("COMTE_COPSEQ");
    idGnrService.setTableName("CTSNN_ID");

    return idGnrService;
  }
Ejemplo n.º 3
0
  /*
  	@Bean
  	public EgovIdGnrStrategy reprtStatsIdStrategy() {

  		EgovIdGnrStrategyImpl strategy = new EgovIdGnrStrategyImpl();
  		strategy.setPrefix("RS_");
  		strategy.setCipers(17);
  		strategy.setFillChar('0');

  		return strategy;
  	}
  */
  @Bean(destroyMethod = "destroy")
  public EgovIdGnrService reprtStatsIdGnrService() {

    EgovIdGnrStrategyImpl strategy = new EgovIdGnrStrategyImpl();
    strategy.setPrefix("RS_");
    strategy.setCipers(17);
    strategy.setFillChar('0');

    EgovTableIdGnrServiceImpl idGnrService = new EgovTableIdGnrServiceImpl();
    idGnrService.setDataSource(dataSource);
    //		idGnrService.setStrategy(reprtStatsIdStrategy());
    idGnrService.setStrategy(strategy);
    idGnrService.setBlockSize(1);
    idGnrService.setTable("COMTE_COPSEQ");
    idGnrService.setTableName("REPRT_STATS_ID");

    return idGnrService;
  }