[rules-users] Auditing for stateless session
Mark Proctor
mproctor at codehaus.org
Wed Jun 13 12:35:48 EDT 2007
I'm still thinking on how to do that. Could be the only way is to expose
the working memory of the stateless session - although I'm reluctant to
do that for encapsulation purposes. No doubt users will just abuse it
and try and use the stateless session statefully.
Mark
Budyanto Himawan wrote:
> Hi,
>
> I'm using the 4.0 version of the rules engine. In the old version we
> were able to enable auditing by doing this
>
> WorkingMemory workingMemory = ruleBase.newWorkingMemory();
> // create a new Working Memory Logger, that logs to file.
> WorkingMemoryFileLogger logger = new WorkingMemoryFileLogger(workingMemory);
>
> Now if I use a stateful session, I can still do this. StateFulSession
> extends WorkingMemory. For StatelessSession, however, this is not
> possible. It does not extend WorkingMemory. Is there anyway I can have
> auditing for StatelessSession?
>
> Appreciate your help.
>
> Thanks
> Budyanto
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20070613/b55bea9d/attachment.html
More information about the rules-users
mailing list