Thanks, I should have seen the first solution myself! As for the second one, which sounds better, how do I set in my new context all the extensions in the ExtensionRegistry? The SimpleJasperReportsContext has a method setExtensions() that takes the whole Map<Class<?>,List<?>>, but the ExtensionRegistry's getExtensions() only returns a list of extensions for a given class. M.