Subversion Repositories XServices

Rev

Rev 72 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 72 Rev 87
Line 22... Line 22...
22
import javax.jws.WebParam;
22
import javax.jws.WebParam;
23
import javax.jws.WebService;
23
import javax.jws.WebService;
24
import javax.xml.bind.annotation.XmlElement;
24
import javax.xml.bind.annotation.XmlElement;
Line 25... Line 25...
25
 
25
 
-
 
26
import net.brutex.xservices.types.ScheduledJob;
26
import net.brutex.xservices.types.ScheduledJob;
27
import net.brutex.xservices.types.SchedulerStatisticsType;
Line 27... Line 28...
27
import net.brutex.xservices.util.BrutexNamespaces;
28
import net.brutex.xservices.util.BrutexNamespaces;
Line 28... Line 29...
28
 
29
 
Line 40... Line 41...
40
	public static final String SERVICE_NAME = "JobService";
41
	public static final String SERVICE_NAME = "JobService";
41
	final String OPERATION_GETJOBLIST = "getJobs";
42
	final String OPERATION_GETJOBLIST = "getJobs";
42
	final String OPERATION_SCHEDULEJOB = "scheduleJob";
43
	final String OPERATION_SCHEDULEJOB = "scheduleJob";
43
	final String OPERATION_GETJOB = "getJob";
44
	final String OPERATION_GETJOB = "getJob";
44
	final String OPERATION_DELETEJOB = "deleteJob";
45
	final String OPERATION_DELETEJOB = "deleteJob";
45
	
-
 
-
 
46
	final String OPERATION_GETSTATISTICS = "getStatistics";
46
	final String PARAM_JOB = "job";
47
	final String PARAM_JOB = "job";
Line 47... Line 48...
47
	
48
	
48
	
49
	
Line 90... Line 91...
90
	@WebMethod(operationName=OPERATION_DELETEJOB)
91
	@WebMethod(operationName=OPERATION_DELETEJOB)
91
	@WSDLDocumentation(value="Delete a scheduled job.")
92
	@WSDLDocumentation(value="Delete a scheduled job.")
92
	public abstract void deleteJob(
93
	public abstract void deleteJob(
93
			@WebParam(name="id") @XmlElement(required=true) String uuid) throws XServicesFault;
94
			@WebParam(name="id") @XmlElement(required=true) String uuid) throws XServicesFault;
Line -... Line 95...
-
 
95
	
-
 
96
	/**
-
 
97
	 * Get statisctis about the scheduler
94
	
98
	 * @throws XServicesFault 
-
 
99
	 */
-
 
100
	@WebMethod(operationName=OPERATION_GETSTATISTICS)
-
 
101
	@WSDLDocumentation(value="Get scheduler statistics")
Line 95... Line 102...
95
	
102
	public abstract SchedulerStatisticsType getStatistics() throws XServicesFault;