{
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());
}
public void applicationStarted(ServletContextEvent event)
{
// I do not know this is the correct way, spec is not so explicit.