18,17 → 18,24 |
import javax.jws.WebMethod; |
import javax.jws.WebParam; |
import javax.jws.WebService; |
import javax.jws.soap.SOAPBinding; |
|
import net.brutex.xservices.types.HostConnection; |
import net.brutex.xservices.types.HostinfoType; |
import net.brutex.xservices.types.MailMimeType; |
import net.brutex.xservices.types.ReturnCode; |
import net.brutex.xservices.types.RuntimeInfoType; |
import net.brutex.xservices.types.alfevent.ALFEventResponseType; |
import net.brutex.xservices.types.alfevent.ALFEventType; |
import net.brutex.xservices.types.ant.FileSetResource; |
|
import org.apache.cxf.aegis.type.java5.XmlElement; |
import org.apache.cxf.aegis.type.java5.XmlReturnType; |
import org.apache.cxf.annotations.WSDLDocumentation; |
import org.h2.jdbcx.JdbcConnectionPool; |
|
import java.math.BigInteger; |
|
/** |
* Bundles various methods |
* |
36,6 → 43,7 |
* @since 0.4.0 |
*/ |
@WebService(targetNamespace = net.brutex.xservices.util.BrutexNamespaces.WS_XSERVICES) |
//@SOAPBinding(style = SOAPBinding.Style.RPC) |
@WSDLDocumentation("Various service operations.") |
public interface MiscService { |
|
60,4 → 68,12 |
@WebMethod(operationName="getMemory") |
@WSDLDocumentation("Get memory and processor information") |
public abstract RuntimeInfoType getMemory(); |
|
@WebMethod(operationName="lock") |
@WSDLDocumentation("Get a lock.") |
public abstract BigInteger lock(@WebParam(name="id") @XmlElement(nillable = false) String id, |
@WebParam(name="objectId") @XmlElement(nillable = false) String objectId) throws XServicesFault; |
|
@WebMethod(operationName="EventNotice") |
public abstract ALFEventResponseType mergeALFEvent(@WebParam(name="EventNotice", targetNamespace = "http://www.eclipse.org/alf/schema/EventBase/1") ALFEventType event) throws XServicesFault; |
} |