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