Subversion Repositories XServices

Rev

Rev 87 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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