private final XStream xstream;
public XStreamCache() {
JVM jvm = new JVM();
ClassLoaderReference classLoaderReference = new ClassLoaderReference(
new CompositeClassLoader());
DefaultConverterLookup converterLookup = new DefaultConverterLookup();
xstream = new XStream(
jvm.bestReflectionProvider(), new XppDriver(), classLoaderReference, buildMapper(
getMappers(jvm), jvm, classLoaderReference, converterLookup), converterLookup, converterLookup);