code: public void localDoWork(Work work) throws WorkException
     {
        if (transport != null)
        {
           checkTransport();
  
           if (getLongRunningThreadPool() != null && WorkManagerUtil.isLongRunning(work))
           {
              transport.updateLongRunningFree(getLocalAddress(),
                                              getLongRunningThreadPool().getNumberOfFreeThreads() - 1);
           }
           else
           {
              transport.updateShortRunningFree(getLocalAddress(),
                                               getShortRunningThreadPool().getNumberOfFreeThreads() - 1);
           }
  
           WorkEventListener wel = new WorkEventListener(WorkManagerUtil.isLongRunning(work),
                                                         getShortRunningThreadPool(),
                                                         getLongRunningThreadPool(),
                                                         getLocalAddress(),
                                                         transport);
  
           super.doWork(work, WorkManager.INDEFINITE, null, wel);
        }
        else
        {
           super.doWork(work);
        }
     }
docs: {@inheritDoc}