infinispan/infinispan — pull request #2771 by altanis (2014-08-04 09:41:44+00:00)
Title: ISPN-3125 Applying Spring configuration from file with overrides

Hi

This is proposed fix of https://issues.jboss.org/browse/ISPN-3125 based on Mike's initial proposal: https://gist.github.com/MikeN123/5618297.

I'm a bit unsure about adding setters to ConfigurationBuilderHolder. I had to remove final from fields, so it looks like it was designed to be immutable at the very beginning. If we want to limit immutability, I guess we should create another constructor and pass Global/Default configuration builders from ParserRegistry. However this way we'd add another dependency from ParserRegistry to Global/Default Configuration Builders.

Please tell me what's your opinion on that case.

Thanks!
Sebastian