resourcemanagerws_impl.java

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

JAVA
70
字号
// 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.resourcemanager;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 ResourceManagerWS_Impl extends com.sun.xml.rpc.client.BasicService implements ResourceManagerWS {    private static final QName serviceName = new QName("urn:ResourceManagerWS/wsdl", "ResourceManagerWS");    private static final QName ns1_ResourceManagerWSSEIPort_QNAME = new QName("urn:ResourceManagerWS/wsdl", "ResourceManagerWSSEIPort");    private static final Class resourceManagerWSSEI_PortClass = jwsgrid.ws.resourcemanager.ResourceManagerWSSEI.class;        public ResourceManagerWS_Impl() {        super(serviceName, new QName[] {                        ns1_ResourceManagerWSSEIPort_QNAME                    },            new jwsgrid.ws.resourcemanager.ResourceManagerWS_SerializerRegistry().getRegistry());            }        public java.rmi.Remote getPort(QName portName, Class serviceDefInterface) throws javax.xml.rpc.ServiceException {        try {            if (portName.equals(ns1_ResourceManagerWSSEIPort_QNAME) &&                serviceDefInterface.equals(resourceManagerWSSEI_PortClass)) {                return getResourceManagerWSSEIPort();            }        } 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(resourceManagerWSSEI_PortClass)) {                return getResourceManagerWSSEIPort();            }        } catch (Exception e) {            throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));        }        return super.getPort(serviceDefInterface);    }        public jwsgrid.ws.resourcemanager.ResourceManagerWSSEI getResourceManagerWSSEIPort() {        String[] roles = new String[] {};        HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_ResourceManagerWSSEIPort_QNAME));        handlerChain.setRoles(roles);        jwsgrid.ws.resourcemanager.ResourceManagerWSSEI_Stub stub = new jwsgrid.ws.resourcemanager.ResourceManagerWSSEI_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 + =
减小字号Ctrl + -
显示快捷键?