Examples of release()


Examples of org.apache.cocoon.components.pipeline.ProcessingPipeline.release()

               
                if ( !this.internal ) {
                    processingResult = usedProcessor.process(newEnv);
                } else {
                    ProcessingPipeline pp = usedProcessor.processInternal(newEnv);
                    if (pp != null) pp.release();
                    processingResult = pp != null;
                }
            } finally {
                CocoonComponentManager.endProcessing(newEnv, processKey);
            }
View Full Code Here

Examples of org.apache.cocoon.environment.SourceResolver.release()

                        timeStamp == 0)
                        return false;
                } catch (Exception e) {
                    return false;
                } finally {
                    otherResolver.release(otherSource);
                }
            }
            return true;
        }
        return false;
View Full Code Here

Examples of org.apache.cocoon.sitemap.SitemapComponentSelector.release()

        } catch (ProcessingException e) {
            throw e;
        } catch (Exception e) {
            throw new ProcessingException("Exception during processing of " + this.systemId, e);
        } finally {
            if (serializer != null) serializerSelector.release(serializer);
            if (serializerSelector != null) this.manager.release(serializerSelector);
            reset();
        }
    }
View Full Code Here

Examples of org.apache.commons.chain.web.servlet.ServletWebContext.release()

            // Execute the exception processing chain??
            throw new ServletException(e);
        }

        // Release the context.
        context.release();
    }
   
    /**
     * If this is a multipart request, wrap it with a special wrapper.
     * Otherwise, return the request unchanged.
View Full Code Here

Examples of org.apache.commons.transaction.locking.GenericLock.release()

        if (locks.get() == null) return;

        Xid txId = (Xid) activeTransactionBranch.get();
        for (Iterator it = ((HashSet)locks.get()).iterator(); it.hasNext();) {
            GenericLock lock = (GenericLock) it.next();
            lock.release(txId);
            getLogger().log(
                "Release lock: " + txId + " released " + lock.getResourceId().toString(),
                LOG_CHANNEL,
                Logger.DEBUG);
        }
View Full Code Here

Examples of org.apache.commons.transaction.locking.MultiLevelLock.release()

                if (layout == null) {
                    layout = deployTML(tmlLib);
                }
            }
            finally {
                lock.release(Thread.currentThread());
            }
        }

        String resourcePath = "/" + FOLDER_DYNAMIC_RESOURCES + "/" + layout.getFile().getName();
        return resourcePath;
View Full Code Here

Examples of org.apache.curator.framework.recipes.locks.InterProcessMutex.release()

    @Override
    public void unlockRoot(Object lock) {
        try {
            final InterProcessMutex mutex = (InterProcessMutex) lock;
            mutex.release();
        } catch (Exception ex) {
            throw Throwables.propagate(ex);
        }
    }
View Full Code Here

Examples of org.apache.curator.framework.recipes.locks.InterProcessSemaphoreMutex.release()

                {
                    if ( lock.isAcquiredInThisProcess() )
                    {
                        try
                        {
                            lock.release();
                        }
                        catch ( Exception e )
                        {
                            log.error("Could not release left-over lock for path: " + path, e);
                        }
View Full Code Here

Examples of org.apache.cxf.ws.rm.RewindableInputStream.release()

        }

        private void releaseSavedMessage() {
            RewindableInputStream is = (RewindableInputStream)message.get(RMMessageConstants.SAVED_CONTENT);
            if (is != null) {
                is.release();
            }
        }

        /**
         * @return associated message context
View Full Code Here

Examples of org.apache.derby.iapi.services.cache.CacheManager.release()

        throw se;
    }
    finally
    {
      if (otherCacheEntry != null)
        otherCache.release(otherCacheEntry);
    }
  }
 

  /** @see DataDictionary#dropStatisticsDescriptors */
 
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.