⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 schedulerwsimpl.java

📁 这是一个基于计算网格的web service。它用java编写。一旦安装完成
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -