[rules-users] SlidingTimeWindow$BehaviorExpireWMAction

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jul 13 08:55:34 EDT 2011


On 13 July 2011 13:15, Andre <morpheusandre at web.de> wrote:

> the functions should do it ,..
>

You shouldn't have any problems finding these lines in accumulate and
reverse, respectively:

   RequestCtx xacml = (RequestCtx) request;
   for (Iterator      <Attribute> iterator =
xacml.getResourceAsList().iterator(); iterator.hasNext();) {
             Attribute resource = (              Attribute) iterator.next();

   RequestCtx xacml = (RequestCtx) request;
   for (Iterator<List<Attribute>> iterator =
xacml.getResourceAsList().iterator(); iterator.hasNext(); ) {
     List<Attribute> resource = (List<Attribute>) iterator.next();

-W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110713/f6da952f/attachment.html 


More information about the rules-users mailing list