コード例 #1
0
 @Before
 public void setup() {
   motechSchedulerFactoryBean =
       (MotechSchedulerFactoryBean)
           getBeanFromBundleContext(
               context, "org.motechproject.motech-scheduler", "motechSchedulerFactoryBean");
   scheduler = motechSchedulerFactoryBean.getQuartzScheduler();
 }
 @Before
 public void setup() {
   scheduler = motechSchedulerFactoryBean.getQuartzScheduler();
 }