for (ModuleStateChange change : changes) {
Transition transition = change.getTransition();
ModuleDefinition currentModuleDefinition = change.getModuleDefinition();
TransitionProcessor transitionProcessor = transitionProcessorRegistry.getTransitionProcessor(transition);
transitionProcessor.process(this, transitions.getNewRootModuleDefinition(), currentModuleDefinition);
if (moduleStateChangeNotifier != null) {
moduleStateChangeNotifier.notify(this, change);
}
}