I am using Quartz to schedule some jobs in a web application. The class that implements the job needs a reference to an object defined in the application context (applicationContext.xml). I first tried to use the WebApplicationContextUtils class to obtain the bean factory but I don't have the ServletContext......The other possibility would be to use the SingletonBeanFactoryLocator but I don't want to load the application context again since it is already loaded. I would like to know if there is a possibility to obtain the bean factory without having the ServletContext.
Thanks...


Reply With Quote