Home » Oracle » 1z0-900 » Which interface should you implement if you want to be alerted to the lifecycle events surrounding your task being executed by a ManagedExecutorService?
Which interface should you implement if you want to be alerted to the lifecycle events surrounding your task being executed by a ManagedExecutorService?
A. the Runnable Interface
B. the ManagedExecutorTask interface
C. the TaskEventListener interface
D. the ManagedTaskListener interface
Correct Answer: D
Explanation/Reference:
Reference: https://github.com/javaee/concurrency-ee-spec/blob/master/api/src/main/java/javax/enterprise/concurrent/ManagedExecutorService.java
Download Printable PDF. VALID exam to help you PASS.
|
|