public void sessionEnded(HttpSessionEvent event)
{
logger.info("Destroying of the Session Context with session id : " + event.getSession().getId());
ContextFactory.destroySessionContext(event.getSession());
ConversationManager conversationManager = ConversationManager.getInstance();
conversationManager.destroyConversationContextWithSessionId(event.getSession().getId());
}