protected ApplicationManager getApplicationManager ( ) { return WebApplicationContextUtils . getWebApplicationContext ( ( ( ServletRequestAttributes ) RequestContextHolder . currentRequestAttributes ( ) ) . getRequest ( ) . getSession ( true ) . getServletContext ( ) ) . getBean ( ApplicationManager . class ) ; }
Gets the application manager .