registeredPoolName = PoolDefaults.POOL_IMPLEMENTATION_THREADLOCAL;
}
int maxSize = poolAnnotation.maxSize();
long timeout = poolAnnotation.timeout();
PoolFactoryRegistry registry = deployment.getPoolFactoryRegistry();
PoolFactory factory = registry.getPoolFactory(registeredPoolName);
pool = factory.createPool();
pool.initialize(this, maxSize, timeout);
resolveInjectors();
pool.setInjectors(injectors.toArray(new Injector[injectors.size()]));
}