String moduleToReload = moduleOperationInput.getModuleName();
Assert.notNull(moduleToReload, "moduleName is required as it specifies the name of the module to reload in "
+ this.getClass().getName());
ModuleStateHolder moduleStateHolder = getModuleStateHolder();
RootModuleDefinition oldRootDefinition = moduleStateHolder.cloneRootModuleDefinition();
RootModuleDefinition newRootDefinition = moduleStateHolder.cloneRootModuleDefinition();
ModificationExtractorRegistry modificationExtractor = getModificationExtractorRegistry();
ModificationExtractor calculator = modificationExtractor
.getModificationExtractor(ModificationExtractorType.STRICT);
ModuleDefinition childDefinition = newRootDefinition.findChildDefinition(moduleToReload, true);
if (childDefinition != null) {
childDefinition.setState(ModuleState.STALE);
TransitionSet transitions = calculator.getTransitions(oldRootDefinition, newRootDefinition);