public class ExecutorEventSupportEJBImpl extends Object implements ExecutorEventSupport
| Constructor and Description |
|---|
ExecutorEventSupportEJBImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(AsynchronousJobListener listener) |
void |
clear() |
void |
fireAfterJobCancelled(org.kie.api.executor.RequestInfo job,
Throwable exception) |
void |
fireAfterJobExecuted(org.kie.api.executor.RequestInfo job,
Throwable exception) |
void |
fireAfterJobScheduled(org.kie.api.executor.RequestInfo job,
Throwable exception) |
void |
fireBeforeJobCancelled(org.kie.api.executor.RequestInfo job,
Throwable exception) |
void |
fireBeforeJobExecuted(org.kie.api.executor.RequestInfo job,
Throwable exception) |
void |
fireBeforeJobScheduled(org.kie.api.executor.RequestInfo job,
Throwable exception) |
List<AsynchronousJobListener> |
getEventListeners() |
boolean |
isEmpty() |
void |
notifyAllListeners(Consumer<AsynchronousJobListener> consumer) |
void |
readExternal(ObjectInput in) |
void |
removeEventListener(AsynchronousJobListener listener) |
void |
removeEventListener(Class cls) |
int |
size() |
void |
writeExternal(ObjectOutput out) |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void notifyAllListeners(Consumer<AsynchronousJobListener> consumer)
notifyAllListeners in interface ExecutorEventSupportpublic void addEventListener(AsynchronousJobListener listener)
addEventListener in interface ExecutorEventSupportpublic void removeEventListener(Class cls)
removeEventListener in interface ExecutorEventSupportpublic void removeEventListener(AsynchronousJobListener listener)
removeEventListener in interface ExecutorEventSupportpublic List<AsynchronousJobListener> getEventListeners()
getEventListeners in interface ExecutorEventSupportpublic int size()
size in interface ExecutorEventSupportpublic boolean isEmpty()
isEmpty in interface ExecutorEventSupportpublic void clear()
clear in interface ExecutorEventSupportpublic void fireBeforeJobScheduled(org.kie.api.executor.RequestInfo job,
Throwable exception)
fireBeforeJobScheduled in interface ExecutorEventSupportpublic void fireBeforeJobExecuted(org.kie.api.executor.RequestInfo job,
Throwable exception)
fireBeforeJobExecuted in interface ExecutorEventSupportpublic void fireBeforeJobCancelled(org.kie.api.executor.RequestInfo job,
Throwable exception)
fireBeforeJobCancelled in interface ExecutorEventSupportpublic void fireAfterJobScheduled(org.kie.api.executor.RequestInfo job,
Throwable exception)
fireAfterJobScheduled in interface ExecutorEventSupportpublic void fireAfterJobExecuted(org.kie.api.executor.RequestInfo job,
Throwable exception)
fireAfterJobExecuted in interface ExecutorEventSupportpublic void fireAfterJobCancelled(org.kie.api.executor.RequestInfo job,
Throwable exception)
fireAfterJobCancelled in interface ExecutorEventSupportCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.