public static final java.lang.String CARBON_TASK_SCHEDULER = "CARBON_TASK_SCHEDULER";
public static final java.lang.String CARBON_TASK_REPOSITORY = "CARBON_TASK_REPOSITORY";
public void createdConfigurationContext(ConfigurationContext configContext) {
TaskScheduler scheduler = (TaskScheduler)configContext.getProperty(AutoscalerTaskInitializer.CARBON_TASK_SCHEDULER);
if (scheduler == null) {
scheduler = new TaskScheduler(TaskConstants.TASK_SCHEDULER);
scheduler.init(null);
configContext.setProperty(AutoscalerTaskInitializer.CARBON_TASK_SCHEDULER, scheduler);
} else if(!scheduler.isInitialized()) {
scheduler.init(null);
}
if (configContext.getProperty(AutoscalerTaskInitializer.CARBON_TASK_REPOSITORY) == null) {
TaskDescriptionRepository repository = new TaskDescriptionRepository();
configContext.setProperty(