code: public static Manager getManager(ServletContext servletContext) {
  		Object managerObject = servletContext.getAttribute(SimonUtils.MANAGER_SERVLET_CTX_ATTRIBUTE);
  		Manager manager = null;
  		if (managerObject instanceof Manager) {
  			manager =(Manager) managerObject;
  		}
  		return manager;
  	}
docs: Get manager stored in servlet context (if any)