+ public static ConfigSnapshotHolder loadLastConfig(File file) throws JAXBException {
+ JAXBContext jaxbContext = JAXBContext.newInstance(ConfigSnapshot.class);
+ Unmarshaller um = jaxbContext.createUnmarshaller();
+
+ return asHolder((ConfigSnapshot) um.unmarshal(file));
+ }
+
+ private static ConfigSnapshotHolder asHolder(final ConfigSnapshot unmarshalled) {