public static XmlWebApplicationContext getAppContext ( Page page ) { return page == null ? null : ( XmlWebApplicationContext ) page . getAttribute ( APP_CONTEXT_ATTRIB ) ; }
Returns the application context associated with the given page .