Examples of release()


Examples of org.apache.mina.common.ByteBuffer.release()

            if (session.getTransportType().isConnectionless()) {
                disposeDecoder(session);
            }

            // Release the read buffer.
            in.release();

            decoderOut.flush();
        }
    }
View Full Code Here

Examples of org.apache.myfaces.context.servlet.ServletFacesContextImpl.release()

                }

                request.getPortletSession().setAttribute(CURRENT_FACES_CONTEXT, facesContext);
            }
            catch (Throwable e) {
                facesContext.release();
                handleExceptionFromLifecycle(e);
            }
        }
    }
View Full Code Here

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

  public void encodeFinally(FacesContext context)
  {
    RenderingContext arc = RenderingContext.getCurrentInstance();
    if (arc != null)
    {
      arc.release();
    }
    else
    {
      _LOG.warning("No AdfRenderingContext available");
    }
View Full Code Here

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

Examples of org.apache.myfaces.trinidadbuild.test.MockFacesContext12.release()

          assertEquals(ce.getFacesMessage().getDetail(), customMessage[i]);
        }
      }
      finally
      {
        context.release();
      }
    }
  }

  private MockRequestContext _mafct;
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table.TableRenderingContext.release()

    {
      // restore current skin resource map. Most likely there won't be one.
      arc.setSkinResourceKeyMap(oldSkinResourceMap);

      if (tContext != null)
        tContext.release();
    }

  }

View Full Code Here

Examples of org.apache.myfaces.view.facelets.FaceletCompositionContext.release()

        {
            ctx.popPageContext();
           
            if (faceletCompositionContextInitialized)
            {
                myFaceletContext.release(facesContext);
            }
        }
    }

    private final void refresh(UIComponent c)
View Full Code Here

Examples of org.apache.ode.bpel.dao.MessageExchangeDAO.release()

                    default:
                        __log.warn("Unexpected state: " + m.getStatus());
                        break;
                }
            } finally {
                mex.release();
            }
        } else _bpelProcess._engine._contexts.mexContext.onAsyncReply(m);

        // send event
        sendEvent(evt);
View Full Code Here

Examples of org.apache.ode.bpel.iapi.MyRoleMessageExchange.release()

            __log.error("Exception occured while invoking ODE", e);
            success = false;
            throw new OdeFault("An exception occured while invoking ODE.", e);
        } finally {
            if (!success) {
                if (odeMex != null) odeMex.release();
                try {
                    _txManager.rollback();
                } catch (Exception e) {
                    throw new OdeFault("Rollback failed", e);
                }
View Full Code Here

Examples of org.apache.oozie.lock.LockToken.release()

                    return;
                }
            }
            finally {
                if (lock != null) {
                    lock.release();
                }
            }
        }
        throw new Exception("Can't reset ID sequence in ZK. Retried " + RETRY_COUNT + " times");
    }
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.