/** * This method validates the intercepted activity event. * * @param actType The activity type * @throws Exception Failed to validate activity */ public void validate(ActivityType actType) throws Exception { // Check if predicate defined and if so, the event is applicable if (_predicate == null || _predicate.evaluate(actType)) { // Process the event _eventProcessor.process(null, actType, 0); } }
if (getPredicate() == null || getPredicate().evaluate(event)) { try { java.io.Serializable processed=getEventProcessor().process(source, event, retriesLeft);