Assert.notNull(moduleOperationInput, "moduleOperationInput cannot be null");
ModuleStateHolder moduleStateHolder = getModuleStateHolder();
//note that the module definition source is externally supplied
ModuleDefinitionSource newModuleDefinitionSource = moduleOperationInput.getModuleDefinitionSource();
Assert.notNull(newModuleDefinitionSource, "moduleDefinitionSource is required as it specifies the new module definition to apply in " + this.getClass().getName());
RootModuleDefinition newModuleDefinition = newModuleDefinitionSource.getModuleDefinition();
RootModuleDefinition oldModuleDefinition = getExistingModuleDefinitionSource();
ModificationExtractorType modificationExtractorType = getModificationExtractorType();
// figure out the modules to reload