{
WeldManager manager = context.get(WeldManager.class);
CDISessionID id = context.get(CDISessionID.class);
if(id != null)
{
HttpSessionManager sessionManager = Utils.getBeanReference(manager, HttpSessionManager.class);
HttpSession session = sessionStore.get(id.getId());
if(session == null)
{
session = new MockHttpSession(id.getId(), new MockServletContext("/"));
}
sessionManager.setSession(session);
sessionStore.put(id.getId(), session);
}
}
});
if(enableConversation)