Examples of release()


Examples of org.exist.dom.StoredNode.release()

                        {cdata = processAttribute(((AttrImpl) child).getValue(), node.getNodeId(), match);}
                    else
                        {cdata = ((AttrImpl) child).getValue();}
                    attribs.addAttribute(child.getQName(), cdata);
                    count++;
                    child.release();
                } else
                    {break;}
            }
            receiver.setCurrentNode(node);
            receiver.startElement(node.getQName(), attribs);
View Full Code Here

Examples of org.exist.storage.BrokerPool.release()

        } catch (final Exception e) {
      return false;
     
    } finally {
      if (db != null)
        {db.release(broker);}
    }
     
      return true;
    }
View Full Code Here

Examples of org.exist.storage.DBBroker.release()

                {broker.getIndexController().reindex(transaction, reindexRoot, StreamListener.STORE);}
        } catch (final EXistException e) {
            LOG.warn("Exception while inserting node: " + e.getMessage(), e);
        } finally {
          if (broker != null)
            broker.release();
        }
        return oldNode;
    }

    public void removeAppendAttributes(Txn transaction, NodeList removeList, NodeList appendList) {
View Full Code Here

Examples of org.exist.storage.lock.Lock.release()

        final Thread thread = Thread.currentThread();
        for(int idx = 0; idx < documentCount; idx++) {
            d = nodes[documentOffsets[idx]].getDocument();
            dlock = d.getUpdateLock();
            if(exclusive)
                {dlock.release(Lock.WRITE_LOCK);}
            else if (dlock.isLockedForRead(thread))
                {dlock.release(Lock.READ_LOCK);}
        }
    }
View Full Code Here

Examples of org.exist.util.XMLString.release()

        if(!declarationWritten) {
            writeDeclaration();
        }     
        final XMLString s = new XMLString(ch, start, len);
        characters(s);
        s.release();
    }

    public void processingInstruction(final String target, final String data) throws TransformerException {
        if(!declarationWritten) {
            writeDeclaration();
View Full Code Here

Examples of org.exolab.jms.messagemgr.MessageHandle.release()

                            new MessageHandle[0]);
            _unackedMessages.clear();

            for (int i = 0; i < handles.length; ++i) {
                MessageHandle handle = handles[i];
                handle.release();
            }
        }
    }

}
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.util.io.SpoolFile.release()

         {
            if (sf != null)
            {
               try
               {
                  sf.release(this);
                  fileCleaner.addFile(sf);
               }
               catch (FileNotFoundException ex)
               {
                  if (LOG.isDebugEnabled())
View Full Code Here

Examples of org.fest.swing.lock.ScreenLock.release()

  }

  private void releaseScreenLock() {
    ScreenLock screenLock = ScreenLock.instance();
    if (screenLock.acquiredBy(screenLockOwner)) {
      screenLock.release(screenLockOwner);
    }
  }

  @RunsInEDT
  private static void disposeWindows(final @Nonnull ComponentHierarchy hierarchy) {
View Full Code Here

Examples of org.g4studio.core.mvc.xstruts.chain.contexts.ActionContext.release()

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

    // Release the context.
    context.release();
  }

  /**
   * <p>
   * Provide the initialized <code>ActionContext</code> instance which will be
View Full Code Here

Examples of org.geotools.data.LockingManager.release()

                        + meta.getWorkspace().getName());

                try {
                    t.addAuthorization(lockId);

                    if (lockingManager.release(lockId, t)) {
                        refresh = true;
                    }
                } catch (IOException e) {
                    LOGGER.log(Level.WARNING, e.getMessage(), e);
                } finally {
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.