The OpenMRS Initializer module is an API-only module that processes the content of the configuration folder when it is found inside OpenMRS' application data directory.
MIT License
23
stars
77
forks
source link
Spring context to shutdown before subsequent Validator invocations. #265
In the context of the OpenMRS Packager plugin, when the Validator is used more than once during the same Maven build, the current Spring context is carried over and reused during subsequent validations (given there are more than one submodules requiring validation.)
Since some runtime properties may need to change across invocations (such as database connection properties for example), it is critical that the Spring context is properly shutdown carried prior to subsequent Validator invocations.
In the context of the OpenMRS Packager plugin, when the Validator is used more than once during the same Maven build, the current Spring context is carried over and reused during subsequent validations (given there are more than one submodules requiring validation.)
Since some runtime properties may need to change across invocations (such as database connection properties for example), it is critical that the Spring context is properly shutdown carried prior to subsequent Validator invocations.