Use singleton design pattern directly in the worker object factory
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 23 Aug 2021 21:07:23 +0000 (23:07 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 23 Aug 2021 21:07:23 +0000 (23:07 +0200)
commit8df3f0a9d9fb9796c093a0e040b13dca8aaa3234
treefc0ad60679a846ff6eb586764687df68202cb77d
parentf2d909bbc78a4767dc28fb40e0137dce673f4de8
Use singleton design pattern directly in the worker object factory

And remove all now uneeded singleton classes

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/Bootstrap.ts
src/worker/WorkerDynamicPool.ts
src/worker/WorkerFactory.ts
src/worker/WorkerStaticPool.ts