schedulerwsimpl.java

来自「这是一个基于计算网格的web service。它用java编写。一旦安装完成」· Java 代码 · 共 81 行

JAVA
81
字号
package jwsgrid.ws.scheduler;import jwsgrid.scheduler.Scheduler;/** * This is the implementation bean class for the SchedulerWSweb service. * Created 1-May-2005 2:30:58 PM * @author sean */public class SchedulerWSImpl implements SchedulerWSSEI {    private long pingCount = 0;        /**     * Web service operation     */    public String scheduleBundle(            java.lang.String ownerId,             java.lang.String xmlJobDescriptions,            java.lang.String xmlJobConstraints,            javax.activation.DataHandler bundleDataHandler )     throws Exception     {       try       {           Scheduler.WS_init();           return Scheduler.WS_scheduleBundle(                   ownerId,                   xmlJobDescriptions,                    xmlJobConstraints,                   bundleDataHandler );                  } catch ( Exception ex ) {           throw ex;       }    }    /**     * Web service operation     */    public String queryBundle( java.lang.String ownerId )     throws Exception     {       try       {           Scheduler.WS_init();           return Scheduler.WS_queryBundle( ownerId );                  } catch ( Exception ex ) {           throw ex;       }            }    /**     * Web service operation     */    public String queryBundle(             java.lang.String ownerId,             java.lang.String bundleId )     throws Exception     {       try       {           Scheduler.WS_init();           return Scheduler.WS_queryBundle( ownerId, bundleId );                  } catch ( Exception ex ) {           throw ex;       }              }    /**     * Web service operation     */    public long ping()     {        return pingCount++;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?