sharedPoolState = DEFAULT_SHARED_THREAD_POOL_STATE;
}
final ExecutorServiceProvider esProvider;
log.debug(" - shared thread pool state: {}", sharedPoolState);
if(sharedPoolState){
esProvider = new SharedExecutorServiceProvider(ctx.getBundleContext());
} else { //we need to create our own ExecutorService
value = properties.get(THREAD_POOL_SIZE);
if(value instanceof Number){
this.threadPoolSize = ((Number)value).intValue();
} else if(value != null){