[rules-users] Guvnor test scenarios public no-arg constructor

Nicolas Héron nicolas.heron.java at gmail.com
Fri May 20 02:59:39 EDT 2011


Hello,
yes this is true, you need a no-argument constructor (like most moderm
framework).
You can use AspectJ <http://www.eclipse.org/aspect> or
Spring<http://static.springsource.org/spring/docs/2.0.x/reference/aop.html>to
dynamically add a no-argument constructor.
Regards
Nicolas

2011/5/20 Lisa Horton <LHorton at abclegal.com>:
> It appears that in order to be used in a Guvnor test scenario, an class
must
> have a public no-argument constructor.  Is this true?  And if so, is there
a
> workaround for classes that have a private constructor (other than
changing
> the object model)?
>
>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110520/be9caaba/attachment.html 


More information about the rules-users mailing list