}
public boolean setThreadPoolConfiguration() {
threadPoolInitialized = false;
try {
ServicesManager servicesManager = ServicesManager.getInstance();
IBatchConfig batchConfig = servicesManager.getBatchRuntimeConfiguration();
GlassfishThreadPoolConfigurationBean threadPoolBean = new GlassfishThreadPoolConfigurationBean();
threadPoolBean.setIdleThreadTimeout(helper.getMaxIdleThreadTimeout());
threadPoolBean.setMaxQueueSize(helper.getMaxQueueSize());
threadPoolBean.setMaxThreadPoolSize(helper.getMaxThreadPoolSize());
threadPoolBean.setMinThreadPoolSize(helper.getMinThreadPoolSize());