Subversion Repositories XServices

Rev

Rev 198 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 198 Rev 199
Line 16... Line 16...
16
package net.brutex.xservices.ws;
16
package net.brutex.xservices.ws;
Line 17... Line 17...
17
 
17
 
18
import javax.jws.WebMethod;
18
import javax.jws.WebMethod;
19
import javax.jws.WebParam;
19
import javax.jws.WebParam;
-
 
20
import javax.jws.WebService;
-
 
21
import javax.jws.soap.SOAPBinding;
20
import javax.jws.WebService;
22
 
21
import net.brutex.xservices.types.HostConnection;
23
import net.brutex.xservices.types.HostConnection;
22
import net.brutex.xservices.types.HostinfoType;
24
import net.brutex.xservices.types.HostinfoType;
23
import net.brutex.xservices.types.MailMimeType;
25
import net.brutex.xservices.types.MailMimeType;
24
import net.brutex.xservices.types.ReturnCode;
26
import net.brutex.xservices.types.ReturnCode;
-
 
27
import net.brutex.xservices.types.RuntimeInfoType;
-
 
28
import net.brutex.xservices.types.alfevent.ALFEventResponseType;
25
import net.brutex.xservices.types.RuntimeInfoType;
29
import net.brutex.xservices.types.alfevent.ALFEventType;
Line 26... Line 30...
26
import net.brutex.xservices.types.ant.FileSetResource;
30
import net.brutex.xservices.types.ant.FileSetResource;
27
 
31
 
28
import org.apache.cxf.aegis.type.java5.XmlElement;
32
import org.apache.cxf.aegis.type.java5.XmlElement;
-
 
33
import org.apache.cxf.aegis.type.java5.XmlReturnType;
-
 
34
import org.apache.cxf.annotations.WSDLDocumentation;
-
 
35
import org.h2.jdbcx.JdbcConnectionPool;
Line 29... Line 36...
29
import org.apache.cxf.aegis.type.java5.XmlReturnType;
36
 
30
import org.apache.cxf.annotations.WSDLDocumentation;
37
import java.math.BigInteger;
31
 
38
 
32
/**
39
/**
33
 * Bundles various methods
40
 * Bundles various methods
34
 *
41
 *
35
 * @author Brian Rosenberger, bru@brutex.de
42
 * @author Brian Rosenberger, bru@brutex.de
-
 
43
 * @since 0.4.0
36
 * @since 0.4.0
44
 */
37
 */
45
@WebService(targetNamespace = net.brutex.xservices.util.BrutexNamespaces.WS_XSERVICES)
Line 38... Line 46...
38
@WebService(targetNamespace = net.brutex.xservices.util.BrutexNamespaces.WS_XSERVICES)
46
//@SOAPBinding(style = SOAPBinding.Style.RPC)
Line 39... Line 47...
39
@WSDLDocumentation("Various service operations.")
47
@WSDLDocumentation("Various service operations.")
40
public interface MiscService {
48
public interface MiscService {
41
 
49
 
Line 42... Line 50...
42
	 public static final String OPERATION_GETMEMORY = "getMemory";
50
	 public static final String OPERATION_GETMEMORY = "getMemory";
43
 
51
 
Line 58... Line 66...
58
	  public abstract String generateUUID();
66
	  public abstract String generateUUID();
Line 59... Line 67...
59
 
67
 
60
	  @WebMethod(operationName="getMemory")
68
	  @WebMethod(operationName="getMemory")
61
	  @WSDLDocumentation("Get memory and processor information")
69
	  @WSDLDocumentation("Get memory and processor information")
-
 
70
	  public abstract RuntimeInfoType getMemory();
-
 
71
 
-
 
72
	  @WebMethod(operationName="lock")
-
 
73
	  @WSDLDocumentation("Get a lock.")
-
 
74
	  public abstract BigInteger lock(@WebParam(name="id") @XmlElement(nillable = false) String id,
-
 
75
									  @WebParam(name="objectId") @XmlElement(nillable = false) String objectId) throws XServicesFault;
-
 
76
 
-
 
77
	 @WebMethod(operationName="EventNotice")
62
	  public abstract RuntimeInfoType getMemory();
78
	 public abstract ALFEventResponseType mergeALFEvent(@WebParam(name="EventNotice", targetNamespace = "http://www.eclipse.org/alf/schema/EventBase/1") ALFEventType event) throws XServicesFault;