[rules-dev] Instantiating class with no constructor

Edson Tirelli tirelli at post.com
Sat Feb 10 08:23:57 EST 2007


   Mark,

   Nice treasure you found. I will do some research to be able to use 
the same for shadow facts when the classes are available in the JVM..

   []s
   Edson

Mark Proctor wrote:

> 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
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>


-- 
 Edson Tirelli
 Software Engineer - JBoss Rules Core Developer
 Office: +55 11 3124-6000
 Mobile: +55 11 9218-4151
 JBoss, a division of Red Hat @ www.jboss.com





More information about the rules-dev mailing list