Examples of ConcurrentHashMapBeanStore


Examples of org.jboss.weld.context.api.helpers.ConcurrentHashMapBeanStore

         throw new IllegalStateException("No " + WeldManager.class.getName() + " found in context");
      }
      ContextLifecycle lifeCycle = manager.getServices().get(ContextLifecycle.class);

      String sessionId = UUID.randomUUID().toString();
      BeanStore beanStore = new ConcurrentHashMapBeanStore();
     
      lifeCycle.restoreSession(sessionId, beanStore);
      context.add(CDISessionID.class, new CDISessionID(sessionId, beanStore));
   }
View Full Code Here

Examples of org.jboss.weld.context.api.helpers.ConcurrentHashMapBeanStore

         throw new IllegalStateException("No " + WeldManager.class.getName() + " found in context");
      }
      ContextLifecycle lifeCycle = manager.getServices().get(ContextLifecycle.class);

      String requestId = UUID.randomUUID().toString();
      BeanStore beanStore = new ConcurrentHashMapBeanStore();
     
      lifeCycle.getDependentContext().setActive(true);
      lifeCycle.getRequestContext().setActive(true);
      lifeCycle.getRequestContext().setBeanStore(beanStore);
     
View Full Code Here

Examples of org.jboss.weld.context.api.helpers.ConcurrentHashMapBeanStore

   private final BeanStore requestBeanStore;

   public MockLifecycle()
   {
      this.bootstrap = new WeldBootstrap();
      this.applicationBeanStore = new ConcurrentHashMapBeanStore();
      this.sessionBeanStore = new ConcurrentHashMapBeanStore();
      this.requestBeanStore = new ConcurrentHashMapBeanStore();
   }
View Full Code Here

Examples of org.jboss.weld.context.beanstore.ConcurrentHashMapBeanStore

    /**
     * Constructor
     */
    protected AbstractSharedContext(String contextId) {
        super(contextId, true);
        this.beanStore = new ConcurrentHashMapBeanStore();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.