92939495969798
workers[i] = new SmtpThreadPoolWorker(new SmtpHandler(new SmtpCommandRegistry(), managers.getSmtpManager(), new InMemoryWorkspace())); workers[i].setName(this.getProtocol() + " Thread Pool Worker " + i); } threadPool = new ThreadPool(workers); }