Package org.apache.webbeans.spi

Examples of org.apache.webbeans.spi.ContextsService.activateContext()


     * Activate context.
     */
    public void activateContext(Class<? extends Annotation> scopeType)
    {
        ContextsService contextService = getContextsService();
        contextService.activateContext(scopeType);
    }

    /**
     * Deactivate context.
     */
 
View Full Code Here


     * Activate context.
     */
    public static void activateContext(Class<? extends Annotation> scopeType)
    {
        ContextsService contextService = getContextsService();
        contextService.activateContext(scopeType);
    }
   
    /**
     * Deactivate context.
     */
 
View Full Code Here

     * Activate context.
     */
    public static void activateContext(Class<? extends Annotation> scopeType)
    {
        ContextsService contextService = getContextsService();
        contextService.activateContext(scopeType);
    }
   
    /**
     * Deactivate context.
     */
 
View Full Code Here

     * Activate context.
     */
    public void activateContext(Class<? extends Annotation> scopeType)
    {
        ContextsService contextService = getContextsService();
        contextService.activateContext(scopeType);
    }

    /**
     * Deactivate context.
     */
 
View Full Code Here

            webBeansContext = WebBeansContext.getInstance();
           
            if (sessionContext != null)
            {
                ContextsService contextsService = webBeansContext.getContextsService();
                contextsService.activateContext(SessionScoped.class);
            }
            if (conversationContextMap != null && !conversationContextMap.isEmpty())
            {
                ConversationManager conversationManager = webBeansContext.getConversationManager();
                java.util.Iterator<Conversation> it = conversationContextMap.keySet().iterator();
View Full Code Here

     * Activate context.
     */
    public void activateContext(Class<? extends Annotation> scopeType)
    {
        ContextsService contextService = getContextsService();
        contextService.activateContext(scopeType);
    }

    /**
     * Deactivate context.
     */
 
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.