Package org.apache.deltaspike.core.api.scope

Examples of org.apache.deltaspike.core.api.scope.ConversationSubGroup


        return null;
    }

    public static Class<?> getDeclaredConversationGroup(Class<?> conversationGroup)
    {
        ConversationSubGroup conversationSubGroup = conversationGroup.getAnnotation(ConversationSubGroup.class);

        if (conversationSubGroup == null)
        {
            return conversationGroup;
        }

        Class<?> result = conversationSubGroup.of();

        if (!ConversationSubGroup.class.equals(result))
        {
            return result;
        }
View Full Code Here


    @Override
    public Set<ContextualStorage> closeConversationGroup(Class<?> conversationGroup)
    {
        Set<ContextualStorage> result = new HashSet<ContextualStorage>();

        ConversationSubGroup conversationSubGroup = conversationGroup.getAnnotation(ConversationSubGroup.class);
        Set<Class<?>> subGroups = null;

        if (conversationSubGroup != null)
        {
            conversationGroup = ConversationUtils.getDeclaredConversationGroup(conversationGroup);

            subGroups = new HashSet<Class<?>>(conversationSubGroup.subGroup().length);
            Collections.addAll(subGroups, conversationSubGroup.subGroup());
        }

        Map<ConversationKey, ContextualStorage> storageMap = this.conversationBeanHolder.getStorageMap();
        for (Map.Entry<ConversationKey, ContextualStorage> entry : storageMap.entrySet())
        {
View Full Code Here

TOP

Related Classes of org.apache.deltaspike.core.api.scope.ConversationSubGroup

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.