package com.iailab.module.bpm.framework.flowable.core.event; import com.iailab.module.bpm.event.BpmProcessInstanceStatusEvent; import lombok.AllArgsConstructor; import org.springframework.context.ApplicationEventPublisher; import org.springframework.validation.annotation.Validated; import javax.validation.Valid; /** * {@link BpmProcessInstanceStatusEvent} ηš„η”ŸδΊ§θ€… * * @author iailab */ @AllArgsConstructor @Validated public class BpmProcessInstanceEventPublisher { private final ApplicationEventPublisher publisher; public void sendProcessInstanceResultEvent(@Valid BpmProcessInstanceStatusEvent event) { publisher.publishEvent(event); } }