[rules-dev] Instantiating class with no constructor

Mark Proctor mproctor at codehaus.org
Fri Feb 9 23:20:42 EST 2007


XStream can instantiate classes that 1) do not implement serialiseable 
and 2) do not have a default constructor. Here is now
Sun14ReflectionProvider
 http://svn.xstream.codehaus.org/browse/xstream/trunk/xstream/src/java/com/thoughtworks/xstream/converters/reflection/Sun14ReflectionProvider.java?r=1049

It may not work on all VMs, but we could have it as a pluggeable 
strategy, would help solve a lot of use cases :)

Mark



More information about the rules-dev mailing list