Package org.apache.myfaces.orchestra.conversation

Examples of org.apache.myfaces.orchestra.conversation.AccessScopeManager


        return PhaseId.RENDER_RESPONSE;
    }

    public void beforePhase(PhaseEvent event)
    {
        AccessScopeManager accessManager = AccessScopeManager.getInstance();
        accessManager.beginRecording();
    }
View Full Code Here


     * Invalidates any conversation with aspect {@link ConversationAccessLifetimeAspect}
     * which has not been accessed during a http request
     */
    protected void invalidateAccessScopedConversations(String viewId)
    {
        AccessScopeManager accessManager = AccessScopeManager.getInstance();
        if (accessManager.isIgnoreRequest())
        {
            return;
        }

        if (accessManager.getAccessScopeManagerConfiguration() != null)
        {
            Set ignoredViewIds = accessManager.getAccessScopeManagerConfiguration().getIgnoreViewIds();
            if (ignoredViewIds != null && ignoredViewIds.contains(viewId))
            {
                // The scope configuration has explicitly stated that no conversations should be
                // terminated when processing this specific view, so just return.
                //
View Full Code Here

     *
     * @since 1.3
     */
    private void doBeforeRenderResponse(PhaseEvent event)
    {
        AccessScopeManager accessManager = AccessScopeManager.getInstance();
        accessManager.beginRecording();
    }
View Full Code Here

     * Invalidates any conversation with aspect {@link ConversationAccessLifetimeAspect}
     * which has not been accessed during a http request
     */
    protected void invalidateAccessScopedConversations(String viewId)
    {
        AccessScopeManager accessManager = AccessScopeManager.getInstance();
        if (accessManager.isIgnoreRequest())
        {
            return;
        }

        if (accessManager.getAccessScopeManagerConfiguration() != null)
        {
            Set ignoredViewIds = accessManager.getAccessScopeManagerConfiguration().getIgnoreViewIds();
            if (ignoredViewIds != null && ignoredViewIds.contains(viewId))
            {
                // The scope configuration has explicitly stated that no conversations should be
                // terminated when processing this specific view, so just return.
                //
View Full Code Here

     *
     * @since 1.3
     */
    private void doBeforeRenderResponse(PhaseEvent event)
    {
        AccessScopeManager accessManager = AccessScopeManager.getInstance();
        accessManager.beginRecording();
    }
View Full Code Here

     * Invalidates any conversation with aspect {@link ConversationAccessLifetimeAspect}
     * which has not been accessed during a http request
     */
    protected void invalidateAccessScopedConversations(String viewId)
    {
        AccessScopeManager accessManager = AccessScopeManager.getInstance();
        if (accessManager.isIgnoreRequest())
        {
            return;
        }

        if (accessManager.getAccessScopeManagerConfiguration() != null)
        {
            Set ignoredViewIds = accessManager.getAccessScopeManagerConfiguration().getIgnoreViewIds();
            if (ignoredViewIds != null && ignoredViewIds.contains(viewId))
            {
                // The scope configuration has explicitly stated that no conversations should be
                // terminated when processing this specific view, so just return.
                //
View Full Code Here

TOP

Related Classes of org.apache.myfaces.orchestra.conversation.AccessScopeManager

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.