com.groiss.wf.batch
Class ExceptionHandlingCompletedHandler

java.lang.Object
  extended by com.groiss.event.EventHandler
      extended by com.groiss.wf.batch.ExceptionHandlingCompletedHandler
All Implemented Interfaces:
IEventHandler

public class ExceptionHandlingCompletedHandler
extends EventHandler


Constructor Summary
ExceptionHandlingCompletedHandler()
           
 
Method Summary
 boolean handle(Event e, ProcessInstance handlerProc, EventRegistry reg)
          The handle method is called when an event is raised and a handler has been registered.
 
Methods inherited from class com.groiss.event.EventHandler
onRegister, onUnregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandlingCompletedHandler

public ExceptionHandlingCompletedHandler()
Method Detail

handle

public boolean handle(Event e,
                      ProcessInstance handlerProc,
                      EventRegistry reg)
Description copied from class: EventHandler
The handle method is called when an event is raised and a handler has been registered. This method only writes a message to the log (log level >= 2) and returns true. The return value is used only in "sync" event handlers, where returning true immediatly finishs the activity and ungegisters the handler.

Specified by:
handle in interface IEventHandler
Overrides:
handle in class EventHandler
Parameters:
e - the raised event
handlerProc - the process instance which has registered for the event.
reg - the event registry entry
Returns:
this implementation returns true


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.