Application application = facade.getApplicationManager().getCurrentApplication();
ModuleStateHolder moduleStateHolder = application.getModuleStateHolder();
if (!initialized) {
ModuleStateChangeNotifier moduleStateChangeNotifier = facade.getModuleStateChangeNotifier();
ModuleStateChangeListener listener = newModuleStateChangeListener(servletName);
moduleStateChangeNotifier.addListener(listener);
this.initialized = true;
}
ApplicationContext context = SpringModuleUtils.getModuleSpringContext(moduleStateHolder, servletName);
if (context != null) {