{
logger.debug("Destroying a session with session id : " + event.getSession().getId());
ContextFactory.destroySessionContext(event.getSession());
ConversationManager conversationManager = ConversationManager.getInstance();
conversationManager.destroyConversationContextWithSessionId(event.getSession().getId());
}
public void applicationStarted(ServletContextEvent event)
{
this.discovery = ServiceLoader.getService(MetaDataDiscoveryService.class);