File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Threads and Synchronization and the fly likes how to use JobListener interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "how to use JobListener interface" Watch "how to use JobListener interface" New topic

how to use JobListener interface

sony rao

Joined: Jun 18, 2007
Posts: 20

can anyone please provide me with some tutorials or sample java programs that make use of JobListener interface. I have knowledge of creating and scheduling jobs. thanks in advance.
Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
Are you refering to the Quartz JobListener? If so then just instantiate the Listener and attach it with the schedular. The Quarts Schedualr has some methods like addListener();

Amit Tank
Linked In
hadjila hadjilak

Joined: Apr 04, 2013
Posts: 4

I am a novice with scheduler so I'd like to know how to add a joblistener at a xml file and
also with java for the recovery of a job.
Can you please help me for this.

Thanks a lot,
I agree. Here's the link:
subject: how to use JobListener interface