{
SmtpThreadPoolWorker[] workers = new SmtpThreadPoolWorker[threadBound];
for (int i = 0; i < threadBound; i++)
{
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);