}
}
}
private static void atomicReplace(ServiceLocator locator, ProgramOptions options) {
DynamicConfigurationService dcs = locator.getService(DynamicConfigurationService.class);
DynamicConfiguration config = dcs.createDynamicConfiguration();
config.addUnbindFilter(BuilderHelper.createContractFilter(ProgramOptions.class.getName()));
ActiveDescriptor<ProgramOptions> desc = BuilderHelper.createConstantDescriptor(
options, null, ProgramOptions.class);
config.addActiveDescriptor(desc);