This class provides an implementation of a {@link de.danet.an.workflow.omgcore.WfRequester
WfRequester
}. It class may be used directly if the events that are usually delivered to a requester are of no interest.
If events are to be processed, DefaultRequester
must be subclassed with {@link #receiveEvent receiveEvent
}overridden with the event handling code.
As an alternative to subclassing, a handler may be passed to the {@link #DefaultRequester(WorkflowService,WfAuditHandler) constructor}. Events will then be forwarded to the handler. This is convenient in situation where the implementation of {@link WfAuditHandler WfAuditHandler
} already exists and asubclass would only do the forwarding. Note that the reference to the handler is transient
.
@author
@version $Revision: 1607 $