Interface ExecutorEventSupport

  • All Superinterfaces:
    Externalizable, Serializable
    All Known Implementing Classes:
    ExecutorEventSupportImpl

    public interface ExecutorEventSupport
    extends Externalizable
    Interface for ExecutorEventSupportImpl and ExecutorEventSupportEJBImpl so they both can be referenced by one type because the ExecutorEventSupportEJBImpl is no longer a subtype of ExecutorEventSupportImpl since it would violate EJB public methods specification like no final and synchronized public methods. This way, both ExecutorEventSupportImpl and ExecutorEventSupportEJBImpl can be used interchangeably depending on which implementation of ExecutionEventSupport should be used, i.e. plain Java implementation or EJB implementation.
    • Method Detail

      • removeEventListener

        void removeEventListener​(Class cls)
      • fireBeforeJobScheduled

        void fireBeforeJobScheduled​(org.kie.api.executor.RequestInfo job,
                                    Throwable exception)
      • fireBeforeJobExecuted

        void fireBeforeJobExecuted​(org.kie.api.executor.RequestInfo job,
                                   Throwable exception)
      • fireBeforeJobCancelled

        void fireBeforeJobCancelled​(org.kie.api.executor.RequestInfo job,
                                    Throwable exception)
      • fireAfterJobScheduled

        void fireAfterJobScheduled​(org.kie.api.executor.RequestInfo job,
                                   Throwable exception)
      • fireAfterJobExecuted

        void fireAfterJobExecuted​(org.kie.api.executor.RequestInfo job,
                                  Throwable exception)
      • fireAfterJobCancelled

        void fireAfterJobCancelled​(org.kie.api.executor.RequestInfo job,
                                   Throwable exception)