Package org.jboss.fresh.pool.pool.impl

Examples of org.jboss.fresh.pool.pool.impl.PoolImpl.stop()


    try {

      PoolImpl pool = (PoolImpl) getServiceObject();

      if (pool != null) pool.stop();

      String fname = getFactoryName();
      ClassLoader cl = Thread.currentThread().getContextClassLoader();

      Class fc = cl.loadClass(fname);
View Full Code Here


      super.doStop();
    } finally {
      try {
        PoolImpl pool = (PoolImpl) getServiceObject();
        log.info("pool: " + pool);
        if (pool != null) pool.stop();
      } catch (Exception ex) {
        log.error("Exception while stopping the pool: ", ex);
        throw new RuntimeException(ex.toString());
      }
    }
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.