MmarcoM
Feb 13th, 2005, 12:08 PM
hi all,
i have a webapplication that schedules persistent jobs using Quartz and Spring.
In appplicationContext.xml i am currently defining a SchedulerFactoryBean and a JobDetailBean.
<code>
<bean id="springScheduler" class="org.springframework.scheduling.quartz.SchedulerFac toryBean">
<property name="applicationContextSchedulerContextKey">
<value>applicationContext</value>
</property>
</bean>
<bean name="budgetJob" class="org.springframework.scheduling.quartz.JobDetailBea n">
<property name="jobClass">
<value>com.myapp.scheduler.BudgetJob</value>
</property>
</bean>
</code>
In my application i want also to be able to stop/pause/resume tasks, and for that i need a reference to Quartz Scheduler. Can i get it from SchedulerFactoryBean? if so, how?
thanx in advance and regards
marco
i have a webapplication that schedules persistent jobs using Quartz and Spring.
In appplicationContext.xml i am currently defining a SchedulerFactoryBean and a JobDetailBean.
<code>
<bean id="springScheduler" class="org.springframework.scheduling.quartz.SchedulerFac toryBean">
<property name="applicationContextSchedulerContextKey">
<value>applicationContext</value>
</property>
</bean>
<bean name="budgetJob" class="org.springframework.scheduling.quartz.JobDetailBea n">
<property name="jobClass">
<value>com.myapp.scheduler.BudgetJob</value>
</property>
</bean>
</code>
In my application i want also to be able to stop/pause/resume tasks, and for that i need a reference to Quartz Scheduler. Can i get it from SchedulerFactoryBean? if so, how?
thanx in advance and regards
marco