}
protected void processEventSync(Object payload) {
EventHandler eventHandler = Context.getProcessEngineConfiguration().getEventHandler(eventType);
ensureNotNull("Could not find eventhandler for event of type '" + eventType + "'", "eventHandler", eventHandler);
eventHandler.handleEvent(this, payload, Context.getCommandContext());
}
protected void scheduleEventAsync(Serializable payload) {
final CommandContext commandContext = Context.getCommandContext();