10-11-2012 10:18 PM
import org.activiti.engine.impl.event.EventHandler;
import org.activiti.engine.impl.interceptor.CommandContext;
import org.activiti.engine.impl.persistence.entity.EventSubscriptionEntity;
public class CustomEventHandler implements EventHandler {
@Override
public String getEventHandlerType() {
// TODO event types? who know?
return null;
}
@Override
public void handleEvent(EventSubscriptionEntity eventSubscription, Object payload, CommandContext commandContext) {
// TODO print …
}
}
10-11-2012 11:50 PM
public class SignalEventHandler extends AbstractEventHandler {
public static final String EVENT_HANDLER_TYPE = "signal";
public String getEventHandlerType() {
return EVENT_HANDLER_TYPE;
}
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.