Package org.jboss.weld.context.api

Examples of org.jboss.weld.context.api.ContextualInstance


        Enumeration<String> names = event.getSession().getAttributeNames();
        while (names.hasMoreElements()) {
            String name = names.nextElement();
            Object attribute = event.getSession().getAttribute(name);
            if (attribute instanceof ContextualInstance) {
                ContextualInstance s = (ContextualInstance)attribute;
                if (s.getInstance() instanceof PlanManager){
                    // unlock all plans opened and locked in this session
                    PlanManager planManager = (PlanManager) s.getInstance();
                    planManager.unlockSessionPlans();
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.jboss.weld.context.api.ContextualInstance

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.