public class WorkAdapter extends Object implements WorkListener
WorkListener
instances by extending this class
and overriding only those methods of interest.Constructor and Description |
---|
WorkAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
workAccepted(WorkEvent e)
Invoked when a
Work instance has been accepted. |
void |
workCompleted(WorkEvent e)
Invoked when a
Work instance has completed execution. |
void |
workRejected(WorkEvent e)
Invoked when a
Work instance has been rejected. |
void |
workStarted(WorkEvent e)
Invoked when a
Work instance has started execution. |
public void workAccepted(WorkEvent e)
Work
instance has been accepted.workAccepted
in interface WorkListener
e
- The work eventpublic void workRejected(WorkEvent e)
Work
instance has been rejected.workRejected
in interface WorkListener
e
- The work eventpublic void workStarted(WorkEvent e)
Work
instance has started execution.
This only means that a thread has been allocated.workStarted
in interface WorkListener
e
- The work eventpublic void workCompleted(WorkEvent e)
Work
instance has completed execution.workCompleted
in interface WorkListener
e
- The work eventCopyright © 2019 JBoss by Red Hat. All rights reserved.