Package org.apache.myfaces.trinidad.context

Examples of org.apache.myfaces.trinidad.context.RequestContext.release()


    {
      if (_LOG.isWarning())
      {
        _LOG.warning("RequestContext had not been properly released on earlier " + "request.");
      }
      context.release();
    }

    // See if we've got a cached RequestContext instance; if so,
    // reattach it
    final Object cachedRequestContext = externalContext.getRequestMap().get(
View Full Code Here


    }
   
    final RequestContext context = RequestContext.getCurrentInstance();
    if (context != null)
    {
      context.release();
      assert RequestContext.getCurrentInstance() == null;
    }   
  }

  private void _endConfiguratorServiceRequest(final ExternalContext ec)
View Full Code Here

    {
      if (_LOG.isWarning())
      {
        _LOG.warning("REQUESTCONTEXT_NOT_PROPERLY_RELEASED");
      }
      context.release();
    }

    // See if we've got a cached RequestContext instance; if so,
    // reattach it
    final Object cachedRequestContext = externalContext.getRequestMap().get(
View Full Code Here

    }
   
    final RequestContext context = RequestContext.getCurrentInstance();
    if (context != null)
    {
      context.release();
      assert RequestContext.getCurrentInstance() == null;
    }   
  }

  private void _endConfiguratorServiceRequest(final ExternalContext ec)
View Full Code Here

    if (context != null)
    {
      // ensure that any deferred ComponentReferences are initialized
      _finishComponentReferenceInitialization(ec);

      context.release();
      _releaseManagedThreadLocals();

      assert RequestContext.getCurrentInstance() == null;
    }
  }
View Full Code Here

    {
      if (_LOG.isWarning())
      {
        _LOG.warning("REQUESTCONTEXT_NOT_PROPERLY_RELEASED");
      }
      context.release();
      _releaseManagedThreadLocals();
    }
   
    // See if we've got a cached RequestContext instance; if so,
    // reattach it
View Full Code Here

    }

    final RequestContext context = RequestContext.getCurrentInstance();
    if (context != null)
    {
      context.release();
      assert RequestContext.getCurrentInstance() == null;

    }
  }
View Full Code Here

  private void _releaseRequestContext(ExternalContext ec)
  {
    RequestContext context = RequestContext.getCurrentInstance();
    if (context != null)
    {
      context.release();
      _releaseManagedThreadLocals();
      assert RequestContext.getCurrentInstance() == null;
    }
  }
View Full Code Here

    {
      if (_LOG.isWarning())
      {
        _LOG.warning("REQUESTCONTEXT_NOT_PROPERLY_RELEASED");
      }
      context.release();
      _releaseManagedThreadLocals();
    }
   
    // See if we've got a cached RequestContext instance; if so,
    // reattach it
View Full Code Here

    }

    final RequestContext context = RequestContext.getCurrentInstance();
    if (context != null)
    {
      context.release();
      assert RequestContext.getCurrentInstance() == null;
    }
  }

  private void _releaseManagedThreadLocals()
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.