Added ability to spring configure in-memory config