Search in sources :

Example 11 with ShutdownManager

use of org.mifos.application.admin.system.ShutdownManager in project head by mifos.

the class ApplicationInitializer method sessionDestroyed.

@Override
public void sessionDestroyed(HttpSessionEvent httpSessionEvent) {
    ServletContext ctx = httpSessionEvent.getSession().getServletContext();
    final ShutdownManager shutdownManager = (ShutdownManager) ctx.getAttribute(ShutdownManager.class.getName());
    shutdownManager.sessionDestroyed(httpSessionEvent);
}
Also used : ServletContext(javax.servlet.ServletContext) ShutdownManager(org.mifos.application.admin.system.ShutdownManager)

Aggregations

ShutdownManager (org.mifos.application.admin.system.ShutdownManager)11 HttpSession (javax.servlet.http.HttpSession)4 ServiceException (org.mifos.framework.exceptions.ServiceException)3 UserContext (org.mifos.security.util.UserContext)3 ArrayList (java.util.ArrayList)2 ServletContext (javax.servlet.ServletContext)2 PersonnelBO (org.mifos.customers.personnel.business.PersonnelBO)2 PersonnelBusinessService (org.mifos.customers.personnel.business.service.PersonnelBusinessService)2 HttpServletRequest (javax.servlet.http.HttpServletRequest)1 HttpServletResponse (javax.servlet.http.HttpServletResponse)1 ActionForward (org.apache.struts.action.ActionForward)1 HibernateException (org.hibernate.HibernateException)1 DateTimeFormatter (org.joda.time.format.DateTimeFormatter)1 Before (org.junit.Before)1 InvalidDateException (org.mifos.application.admin.servicefacade.InvalidDateException)1 LoggedUserDto (org.mifos.application.admin.servicefacade.LoggedUserDto)1 PersonnelServiceFacade (org.mifos.application.admin.servicefacade.PersonnelServiceFacade)1 PersonnelInfo (org.mifos.application.admin.system.PersonnelInfo)1 MifosUserBuilder (org.mifos.builders.MifosUserBuilder)1 LocaleSetting (org.mifos.config.LocaleSetting)1