|
@@ -45,6 +45,9 @@ public class RepairStrategyFactory {
|
|
case CommonConstants.NORMAL:
|
|
case CommonConstants.NORMAL:
|
|
strategy = (LongYanPlanRepairStrategy)BeanUtils.getBean("longYanPlanRepairStrategy");
|
|
strategy = (LongYanPlanRepairStrategy)BeanUtils.getBean("longYanPlanRepairStrategy");
|
|
break;
|
|
break;
|
|
|
|
+ case CommonConstants.SIMPLE_REPAIR:
|
|
|
|
+ strategy = (AllocateRepairBaseStrategy)BeanUtils.getBean("allocateRepairBaseStrategy");
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
return strategy;
|
|
return strategy;
|
|
}
|
|
}
|