[rules-users] getGlobal

Mark Proctor mproctor at codehaus.org
Mon Aug 13 08:17:03 EDT 2007


globals are automatically in injected you don't need the getGlobal at 
all from within a consequence. However if you are in java land you you 
may need to read a global value and we can't inject it there, so thats 
the reason for this.

Mark
hypnosat7 wrote:
> Hi,
>
>    Is it important to use getGlobal to get the global variables ? 
> The global variable used in the rule is a reference so why we need getGlobal
> methode ?
>   




More information about the rules-users mailing list