[Perl-workflow-devel] RFE / Patchset - Multiple factories
Brought to you by:
jonasbn
From: Oliver W. <ma...@ol...> - 2012-09-23 15:52:10
|
Hi, I am working for the OpenXPKI project and we are using the Workflow module for a long time. We have the need to run multiple factories in parallel and used to hack the symbol table to get this running. I want to get rid of that hack and have prepared a patch against Workflow 1.34_1 which is attached to this mail. The patch replaces the "FACTORY" Superglob by an internal reference pointer to the corresponding factory. The patched code passes all tests and does not modify any external interfaces. Without a special factory, the code should not show any differences and still allows using the FACTORY glob. To use the power of the new patch, you just need to extend the Factory class with a default constructor. I request to include this patch into the upstream release. If you need any additional tests/docs, etc feel free to ask. Oliver -- Protect your environment - close windows and adopt a penguin! PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF 8168 CAB7 B0DD 3985 1721 |