dana-i2cat/opennaas — pull request #584 by isartcanyameres (2013-04-23 13:33:58+00:00)
Title: Transform Globals singleton into VNTMapperConfiguration.

A new VNTMapperConfiguration is created each time mapVN method is called in the VNMappingCapability.
executeAlgorithm method in VNMappingCapability now requires an exra param of type VNTMapperConfiguration.
During this method, this configuration is set into VNTMapper before executing the algorithm itself.
The algorithm now takes the parameters by calling getConfiguration() method in VNTMapper.

This way, different instances of VNTMappingCapability do no longer share same configuration instance,
and each VNTMapper instance is customizable by passing a different configuration.