This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I didnt get, what thisLookupFactory.getInstance(); method is doing and how to configure that.
Below are my setup and codes..
The Package Structure and Jars I have used is:
And below are the actual files i have used:
1. My Spring config file named (sched.xml) is:
2. Interface IMyJob.java
6. my Main Execution Class named DoMyJobApp.java
Currently Output I am getting is:
Before Scheduler starts....
Gettting bean... From MyJobImpl:: Have a great day !!
After Scheduler starts....
Problem i am facing is that Scheduler is neither executing the executeInternal() method from MyJobHandler class (as it should due to org.springframework.scheduling.quartz.JobDetailBean as set in sched.xml) nor its executing doForMe() from ExampleJob class (as it should due to org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean as set in sched.xml).
Please suggest me what configurations need to change.. and how exactly to load the config file and make the Scheduler run successfully. [ September 04, 2007: Message edited by: shibaram sahoo ]
We can do it !!
Now do i need to add any jar related to org.apache.commons.collections.SetUtils..
Yes, you've got it right. You need Jakarta's Commons Collections library. If you have downloaded Spring with all dependencies, you can find it in the "lib/jakarta-commons" folder, named commons-collections.jar.