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);
moduleStateHolder.processTransitions(transitions);
boolean result = !transitions.getModuleTransitions().isEmpty();
return result ? ModuleOperationResult.TRUE : ModuleOperationResult.FALSE;
}