// if appInfo is null this is a failed deployment... just ignore
ContextInfo contextInfo = getContextInfo(standardContext);
if (contextInfo.appInfo == null) return;
WsService wsService = SystemInstance.get().getComponent(WsService.class);
if (wsService != null) {
List<WebAppInfo> webApps = contextInfo.appInfo.webApps;
for (WebAppInfo webApp : webApps) {
wsService.afterApplicationCreated(webApp);
}
}
// replace any webservices with the webservice servlet
// HACK: use a temp class loader because the class may have been loaded before