Examples of CloseConversationGroup


Examples of org.apache.myfaces.extensions.cdi.core.api.scope.conversation.CloseConversationGroup

    @AroundInvoke
    public Object handleCloseConversation(InvocationContext invocationContext) throws Exception
    {
        Object result = null;

        CloseConversationGroup closeConversationGroup = getCloseConversationGroupAnnotation(invocationContext);

        RuntimeException catchedException = null;

        try
        {
            result = invocationContext.proceed();
        }
        catch (RuntimeException exception)
        {
            catchedException = exception;
        }

        if(isDefaultExceptionValue(closeConversationGroup) ||
                (catchedException != null && checkExceptionToCatch(catchedException, closeConversationGroup.on())))
        {
            Class conversationGroup = getConversationGroup(invocationContext, closeConversationGroup);

            this.windowContext.closeConversation(conversationGroup);
        }
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.core.api.scope.conversation.CloseConversationGroup

    public Object execute(InvocationContext invocationContext) throws Exception
    {
        Object result = null;

        CloseConversationGroup closeConversationGroup = getCloseConversationGroupAnnotation(invocationContext);

        RuntimeException catchedException = null;

        try
        {
            result = invocationContext.proceed();
        }
        catch (RuntimeException exception)
        {
            catchedException = exception;
        }

        if(isDefaultExceptionValue(closeConversationGroup) ||
                (catchedException != null && checkExceptionToCatch(catchedException, closeConversationGroup.on())))
        {
            Class conversationGroup = getConversationGroup(invocationContext, closeConversationGroup);

            this.windowContext.closeConversation(conversationGroup);
        }
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.core.api.scope.conversation.CloseConversationGroup

     */
    public Object execute(InvocationContext invocationContext) throws Exception
    {
        Object result = null;

        CloseConversationGroup closeConversationGroup = getCloseConversationGroupAnnotation(invocationContext);

        RuntimeException catchedException = null;

        try
        {
            result = invocationContext.proceed();
        }
        catch (RuntimeException exception)
        {
            catchedException = exception;
        }

        if(isDefaultExceptionValue(closeConversationGroup) ||
                (catchedException != null && checkExceptionToCatch(catchedException, closeConversationGroup.on())))
        {
            Class conversationGroup = getConversationGroup(invocationContext, closeConversationGroup);

            this.windowContext.closeConversation(conversationGroup);
        }
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.core.api.scope.conversation.CloseConversationGroup

     */
    public Object execute(InvocationContext invocationContext) throws Exception
    {
        Object result = null;

        CloseConversationGroup closeConversationGroup = getCloseConversationGroupAnnotation(invocationContext);

        RuntimeException catchedException = null;

        try
        {
            result = invocationContext.proceed();
        }
        catch (RuntimeException exception)
        {
            catchedException = exception;
        }

        if(isDefaultExceptionValue(closeConversationGroup) ||
                (catchedException != null && checkExceptionToCatch(catchedException, closeConversationGroup.on())))
        {
            Class conversationGroup = getConversationGroup(invocationContext, closeConversationGroup);

            this.windowContext.closeConversation(conversationGroup);
        }
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.