}
}
}
if (changed) {
applicationEventPublisher.publishEvent(new TemplatePackageRedeployedEvent(TemplatePackageDeployer.class.getName()));
}
if (reloadSpringContext) {
// reload the Spring application context for modules
templatePackageRegistry.resetBeanModules();
contextLoader.reload();