We need a HibernateMapper for XStream to support lazy/proxy entities.
Before Spring 3.2.2 we have subclassed XStreamMarshaller and overwritten getXStream to provide an appropriate instance of XStream.
Since 3.2.2 XStreamMarshaller.getXStream is declared as final. The only way to set a MapperWrapper is to force access on the attribute 'xstream' via reflection.
In my opinion XStreamMarshaller should provide an API method either to set MapperWrappers or to create a XStream instance.