Thanks for your help Mike you were spot on.
I uploaded an interface like it was a POJO in guvnor and successfully used it as a
global.
Of course one have to make sure that what you upload have all the needed dependencies, I
had some troubles with that until I understood that I was missing a custom exception
class.
Thanks again // Olle
_____________________________________
DigitalRoute
Developer
Mobile +46 73 335 8487
olle.martensson@digitalroute.com<mailto:name.lastname@digitalroute.com>
From: Michael Anstis
<michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>>
Reply-To: Rules Users List
<rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>>
Date: Tue, 17 Apr 2012 17:39:27 +0200
To: Rules Users List
<rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>>
Subject: Re: [rules-users] custom lib in guvnor
AFAIK you should just be able to import your framework JAR (as a POJO model file, I'd
think) and call methods on it's members.
TBH, I'm not sure on static methods vs instance methods so you might be opening a can
or worms that needs fixing...
It'd be great to get some feedback though, so whatever we have now can be improved
where necessary.
With kind regards,
Mike
On 17 April 2012 12:27, Olle Martensson
<olle.martensson@digitalroute.com<mailto:olle.martensson@digitalroute.com>>
wrote:
How can I use a custom lib/jar in guvnor.
What I want to do is to call some framework specific methods from the action part of the
rules.
Thanks! // Olle
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users