Package speculoos.jndi

Examples of speculoos.jndi.JNDIConnection


   
    public void run() {
      while (!stop) {
        try {
          /* acquire a context */
          JNDIConnection dc = pool.connect();
          /* do something */
          Thread.sleep(rand.nextInt(1000));
          /* release context */
          dc.close();
          nbaction++;
        } catch (Exception e) {
          e.printStackTrace()
          break;
        }
View Full Code Here

TOP

Related Classes of speculoos.jndi.JNDIConnection

Copyright © 2018 www.massapicom. 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.