1,5 → 1,5 |
/* |
* Copyright 2012 Brian Rosenberger (Brutex Network) |
* Copyright 2011 Brian Rosenberger (Brutex Network) |
* |
* Licensed under the Apache License, Version 2.0 (the "License"); |
* you may not use this file except in compliance with the License. |
15,6 → 15,7 |
*/ |
package net.brutex.xservices.ws.impl; |
|
import static org.quartz.TriggerBuilder.newTrigger; |
|
import java.util.ArrayList; |
import java.util.GregorianCalendar; |
36,9 → 37,8 |
import org.quartz.TriggerKey; |
import org.quartz.impl.StdSchedulerFactory; |
import org.quartz.impl.matchers.GroupMatcher; |
import static org.quartz.TriggerBuilder.*; |
|
import net.brutex.xservices.types.ScheduledJob; |
import net.brutex.xservices.types.SchedulerStatisticsType; |
import net.brutex.xservices.util.BrutexNamespaces; |
import net.brutex.xservices.util.JobWrapper; |
import net.brutex.xservices.ws.JobService; |
148,14 → 148,4 |
} |
} |
|
|
public SchedulerStatisticsType getStatistics() throws XServicesFault { |
try { |
Scheduler scheduler = StdSchedulerFactory.getDefaultScheduler(); |
return new SchedulerStatisticsType(scheduler); |
} catch (SchedulerException e) { |
throw new XServicesFault(e); |
} |
} |
|
} |