Package org.jboss.weld.servlet

Examples of org.jboss.weld.servlet.HttpSessionManager


         {
            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)
View Full Code Here

TOP

Related Classes of org.jboss.weld.servlet.HttpSessionManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.