-
Nov 11th, 2008, 06:58 AM
#1
Need to call Listener Explicitly?
If the JobExecutionListener is registered with the Job Then why is it required
to explicitly call the Listener methods inside execute method as in case of SimpleJob class
as a name Listener The framework should have called the Listener implicitly?
-
Nov 11th, 2008, 10:26 AM
#2
I think perhaps you're viewing Job as an extension point for your logic, when it's really there to be a container for steps, which is why SimpleJob contains both the list of Steps, and the listeners. If you really want to use it for your logic, having listeners called automatically wouldn't really help you much.
-
Nov 12th, 2008, 09:01 AM
#3
Hi Lucas
thanks for your reply
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules