Examples of release()


Examples of org.wiztools.restclient.IGlobalOptions.release()

        ok_value = reqTimeout;
       
        IGlobalOptions options = Implementation.of(IGlobalOptions.class);
        options.acquire();
        options.setProperty("request-timeout-in-millis", String.valueOf(reqTimeout));
        options.release();
       
        return true;
    }
   
    private void setUIFromCache(){
View Full Code Here

Examples of org.wiztools.restclient.ProxyConfig.release()

            }
        }
        else{
            proxy.setEnabled(false);
        }
        proxy.release();
        return true;
    }
   
    private void setUIFromCache(){
        ProxyConfig proxy = ProxyConfig.getInstance();
View Full Code Here

Examples of org.wso2.carbon.rule.core.Session.release()

        List<Object> facts = inputManager.processInputs(requestMessageContext);

        if (!facts.isEmpty()) {
            List results = session.execute(facts);
            if (!sessionDescription.isStateful()) {
                session.release();
            }
            return results;
        } else {
            if (log.isDebugEnabled()) {
                log.debug("There is no facts to be injected into the rule engine");
View Full Code Here

Examples of org.xmlBlaster.contrib.db.DbPool.release()

         assertEquals("Wrong number of colums found", 4, ret.length);
        
         SqlInfo sqlInfo = new SqlInfo(info);
         Connection conn = pool.reserve();
         sqlInfo.fillMetadata(conn, null, "XMLBLASTER", "TABLE1", null, null);
         pool.release(conn);
        
         SqlDescription description = sqlInfo.getDescription();
         boolean isConfigured = description.isColumnSearchConfigured(null);
         assertTrue("shall be configured", isConfigured);
        
View Full Code Here

Examples of org.xmlBlaster.contrib.db.I_DbPool.release()

         pool.update("delete from PERFORM");
         conn.commit();
      }

      pool.update("DROP TABLE PERFORM");
      pool.release(conn);
      log.info("SUCCESS");
   }

   /**
    * This method makes some calls to system functions which are specific to oracle.
View Full Code Here

Examples of railo.runtime.PageContextImpl.release()

      }
      catch(Throwable t){
        //t.printStackTrace();
      }
      finally{
        pc.release();
        ThreadLocalPageContext.register(orgPC);
      }
  }

  private static void addTagMetaData(PageContext pc,TagLib tl, TagLibTag tlt, String filename, boolean isWeb) {
View Full Code Here

Examples of railo.runtime.type.scope.storage.MemoryScope.release()

                ExceptionHandler.log(cfmlFactory.getConfig(),Caster.toPageException(t));
              }
              finally {
                if(application!=null)application.setLastAccess(appLastAccess);
                fhm.remove(cfids[y]);
                  scope.release();
                  getLog().info("scope-context", "remove memory based "+VariableInterpreter.scopeInt2String(type)+" scope for "+applicationName+"/"+cfid);
                  count--;
              }
            }
          }
View Full Code Here

Examples of snaq.db.DBPoolDataSource.release()

      conn.close();
    }
    long end = (System.currentTimeMillis() - start);


    ds.release();
    return end;

  }

  /**
 
View Full Code Here

Examples of speculoos.jndi.JNDISource.release()

    /* create mapper */
    SearchMapper sm = (SearchMapper) src.create("search1", new HashMap());
    /* ensure mapper is new */
    assertNotSame(sm, smi);
    /* close */
    src.release(sm);
    src.stop();
  }

  public void test02NotStarted() throws MapperException {
    /* create source */
 
View Full Code Here

Examples of speculoos.jndi.pool.JNDIPooledSource.release()

    Map h = new HashMap();
    h.put("name","name");
    h.put("surname","surname");
    sm.setOutput(Personne.class,h);
    sm.map(input, null);
    src.release(sm);
    try {
      src.release(sm);
    } catch (Exception e) {
      fail("Multiple releases should not throw exceptions");
    }
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.