i am using quartz with spring and i want to inject/use another class in the job class and i don\'t know how to do it correctly
the xml:
ApplicationContext springContext = WebApplicationContextUtils.getWebApplicationContext( ContextLoaderListener.getCurrentWebApplicationContext().getServletContext() ); Bean bean = (Bean) springContext.getBean("beanName"); bean.method();