/** * Returns the update servlet of the specified application, or null if not loaded yet. Note: if * the update servlet is not loaded, it returns null. * * @since 3.0.2 */ public static DHtmlUpdateServlet getUpdateServlet(WebApp wapp) { return (DHtmlUpdateServlet) ((ServletContext) wapp.getNativeContext()).getAttribute(ATTR_UPDATE_SERVLET); }
public CustomContentLoader(WebApp wapp) { _wapp = wapp; _ctx = WebApplicationContextUtils.getRequiredWebApplicationContext( (ServletContext) wapp.getNativeContext()); }