mvermand [https://community.jboss.org/people/mvermand] created the discussion
"Re: timer repeat count in JBPM4.4" To view the discussion, visit: https://community.jboss.org/message/647171#647171 -------------------------------------------------------------- Hi, I don't have a direct answer to why the class is not found. But given that you solve that issue, you might keep track of the number of invocations like this: *public* *static* *class* PropagationEnabledListener *implements* # http://java2s.com/Open-Source/Java-Document/Workflow-Engines/jbpm-jpdl-4/org/jbpm/api/listener/EventListener.java.htm *EventListener* { *private* *static* *final* *long* serialVersionUID = *1L*; # *public* *void* notify( http://java2s.com/Open-Source/Java-Document/Workflow-Engines/jbpm-jpdl-4/org/jbpm/api/listener/EventListenerExecution.java.htm *EventListenerExecution* execution) { # http://java2s.com/Open-Source/Java-Document/6.0-JDK-Core/lang/java/lang/Integer.java.htm *Integer* invocations = ( http://java2s.com/Open-Source/Java-Document/6.0-JDK-Core/lang/java/lang/Integer.java.htm *Integer*) execution .getVariable("invocations"); *if* (invocations == null) { execution.setVariable("invocations", *1*); } *else* { execution.setVariable("invocations", invocations + *1*); } } } ( http://java2s.com/Open-Source/Java-Document/Workflow-Engines/jbpm-jpdl-4/org/jbpm/test/eventlistener/EventListenerTest.java.htm http://java2s.com/Open-Source/Java-Document/Workflow-Engines/jbpm-jpdl-4/org/jbpm/test/eventlistener/EventListenerTest.java.htm) -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/647171#647171] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
