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

📄 jobhostws_impl.java

📁 这是一个基于计算网格的web service。它用java编写。一旦安装完成
💻 JAVA
字号:
// This class was generated by the JAXRPC SI, do not edit.// Contents subject to change without notice.// JAX-RPC Standard Implementation (1.1.2_02, build R41)// Generated source version: 1.1.2package jwsgrid.ws.jobhost;import com.sun.xml.rpc.encoding.*;import com.sun.xml.rpc.client.ServiceExceptionImpl;import com.sun.xml.rpc.util.exception.*;import com.sun.xml.rpc.soap.SOAPVersion;import com.sun.xml.rpc.client.HandlerChainImpl;import javax.xml.rpc.*;import javax.xml.rpc.encoding.*;import javax.xml.rpc.handler.HandlerChain;import javax.xml.rpc.handler.HandlerInfo;import javax.xml.namespace.QName;public class JobHostWS_Impl extends com.sun.xml.rpc.client.BasicService implements JobHostWS {    private static final QName serviceName = new QName("urn:JobHostWS/wsdl", "JobHostWS");    private static final QName ns1_JobHostWSSEIPort_QNAME = new QName("urn:JobHostWS/wsdl", "JobHostWSSEIPort");    private static final Class jobHostWSSEI_PortClass = jwsgrid.ws.jobhost.JobHostWSSEI.class;        public JobHostWS_Impl() {        super(serviceName, new QName[] {                        ns1_JobHostWSSEIPort_QNAME                    },            new jwsgrid.ws.jobhost.JobHostWS_SerializerRegistry().getRegistry());            }        public java.rmi.Remote getPort(QName portName, Class serviceDefInterface) throws javax.xml.rpc.ServiceException {        try {            if (portName.equals(ns1_JobHostWSSEIPort_QNAME) &&                serviceDefInterface.equals(jobHostWSSEI_PortClass)) {                return getJobHostWSSEIPort();            }        } catch (Exception e) {            throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));        }        return super.getPort(portName, serviceDefInterface);    }        public java.rmi.Remote getPort(Class serviceDefInterface) throws javax.xml.rpc.ServiceException {        try {            if (serviceDefInterface.equals(jobHostWSSEI_PortClass)) {                return getJobHostWSSEIPort();            }        } catch (Exception e) {            throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));        }        return super.getPort(serviceDefInterface);    }        public jwsgrid.ws.jobhost.JobHostWSSEI getJobHostWSSEIPort() {        String[] roles = new String[] {};        HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_JobHostWSSEIPort_QNAME));        handlerChain.setRoles(roles);        jwsgrid.ws.jobhost.JobHostWSSEI_Stub stub = new jwsgrid.ws.jobhost.JobHostWSSEI_Stub(handlerChain);        try {            stub._initialize(super.internalTypeRegistry);        } catch (JAXRPCException e) {            throw e;        } catch (Exception e) {            throw new JAXRPCException(e.getMessage(), e);        }        return stub;    }}

⌨️ 快捷键说明

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