@Override
public Object borrowObject() throws Exception {
      log.debug(" borrowing object..");
      WorkerThread thread = (WorkerThread)super.borrowObject();
      thread.setPool(this);
      return thread;
   }
@ Override public Object borrowObject ( ) throws Exception { log . debug ( " borrowing object.." ) ; WorkerThread thread = ( WorkerThread ) super . borrowObject ( ) ; thread . setPool ( this ) ; return thread ; }
/* (non-Javadoc)
@see org.apache.commons.pool.ObjectPool#borrowObject()