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

📄 service.html

📁 j2ee api,很好的api。我这现在有
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/rmi/Remote.html" title="class or interface in java.rmi">Remote</A> <B>getPort</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;serviceEndpointInterface)               throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>The getPort method returns either an instance of a generated   stub implementation class or a dynamic proxy. The parameter   <code>serviceEndpointInterface</code> specifies the service   endpoint interface that is supported by the returned stub or  proxy. In the implementation of this method, the JAX-RPC   runtime system takes the responsibility of selecting a protocol  binding (and a port) and configuring the stub accordingly.   The returned <code>Stub</code> instance should not be   reconfigured by the client.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>serviceEndpointInterface</CODE> - Service endpoint interface<DT><B>Returns:</B><DD>Stub instance or dynamic proxy that supports the                    specified service endpoint interface<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - <UL>                   <LI>If there is an error during creation                       of stub instance or dynamic proxy                   <LI>If there is any missing WSDL metadata                       as required by this method                   <LI>Optionally, if an illegal                        <code>serviceEndpointInterface</code>                       is specified                   </UL></DL></DD></DL><HR><A NAME="getCalls(javax.xml.namespace.QName)"><!-- --></A><H3>getCalls</H3><PRE>public <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A>[] <B>getCalls</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;portName)                throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Gets an array of preconfigured <code>Call</code> objects for   invoking operations on the specified port. There is one   <code>Call</code> object per operation that can be invoked   on the specified port. Each <code>Call</code> object is   pre-configured and does not need to be configured using   the setter methods on <code>Call</code> interface.  <p>Each invocation of the <code>getCalls</code> method   returns a new array of preconfigured <code>Call</code>  objects   <p>This method requires the <code>Service</code> implementation  class to have access to the WSDL related metadata.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name for the target service endpoint<DT><B>Returns:</B><DD>Call[]  Array of pre-configured Call objects<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If this Service class does not                   have access to the required WSDL metadata                   or if an illegal <code>portName</code> is                   specified.</DL></DD></DL><HR><A NAME="createCall(javax.xml.namespace.QName)"><!-- --></A><H3>createCall</H3><PRE>public <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A> <B>createCall</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;portName)                throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Creates a <code>Call</code> instance.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name for the target service endpoint<DT><B>Returns:</B><DD>Call instance<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If any error in the creation of                   the <code>Call</code> object</DL></DD></DL><HR><A NAME="createCall(javax.xml.namespace.QName, javax.xml.namespace.QName)"><!-- --></A><H3>createCall</H3><PRE>public <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A> <B>createCall</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;portName,                       <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;operationName)                throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Creates a <code>Call</code> instance.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name for the target service                    endpoint<DD><CODE>operationName</CODE> - Qualified Name of the operation for                    which this <code>Call</code> object is to                    be created.<DT><B>Returns:</B><DD>Call instance<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If any error in the creation of                   the <code>Call</code> object</DL></DD></DL><HR><A NAME="createCall(javax.xml.namespace.QName, java.lang.String)"><!-- --></A><H3>createCall</H3><PRE>public <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A> <B>createCall</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;portName,                       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;operationName)                throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Creates a <code>Call</code> instance.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name for the target service                    endpoint<DD><CODE>operationName</CODE> - Name of the operation for which this                       <code>Call</code> object is to be                        created.<DT><B>Returns:</B><DD>Call instance<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If any error in the creation of                   the <code>Call</code> object</DL></DD></DL><HR><A NAME="createCall()"><!-- --></A><H3>createCall</H3><PRE>public <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A> <B>createCall</B>()                throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Creates a <code>Call</code> object not associated with   specific operation or target service endpoint. This   <code>Call</code> object needs to be configured using the   setter methods on the <code>Call</code> interface.<P><DD><DL><DT><B>Returns:</B><DD>Call object<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If any error in the creation of                   the <code>Call</code> object</DL></DD></DL><HR><A NAME="getServiceName()"><!-- --></A><H3>getServiceName</H3><PRE>public <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getServiceName</B>()</PRE><DL><DD>Gets the name of this service.<P><DD><DL><DT><B>Returns:</B><DD>Qualified name of this service</DL></DD></DL><HR><A NAME="getPorts()"><!-- --></A><H3>getPorts</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A> <B>getPorts</B>()                  throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Returns an <code>Iterator</code> for the list of   <code>QName</code>s of service endpoints grouped by this  service<P><DD><DL><DT><B>Returns:</B><DD>Returns <code>java.util.Iterator</code> with elements          of type <code>javax.xml.namespace.QName</code><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If this Service class does not          have access to the required WSDL metadata</DL></DD></DL><HR><A NAME="getWSDLDocumentLocation()"><!-- --></A><H3>getWSDLDocumentLocation</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> <B>getWSDLDocumentLocation</B>()</PRE><DL><DD>Gets the location of the WSDL document for this Service.<P><DD><DL><DT><B>Returns:</B><DD>URL for the location of the WSDL document for           this service</DL></DD></DL><HR><A NAME="getTypeMappingRegistry()"><!-- --></A><H3>getTypeMappingRegistry</H3><PRE>public <A HREF="../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A> <B>getTypeMappingRegistry</B>()</PRE><DL><DD>Gets the <code>TypeMappingRegistry</code> for this   <code>Service</code> object. The returned   <code>TypeMappingRegistry</code> instance is pre-configured   to support the standard type mapping between XML and Java   types types as required by the JAX-RPC specification.<P><DD><DL><DT><B>Returns:</B><DD>The TypeMappingRegistry for this Service object.<DT><B>Throws:</B><DD><CODE><code>java.lang.UnsupportedOperationException<code></CODE> - if the <code>Service</code> class does not support          the configuration of <code>TypeMappingRegistry</code>.</DL></DD></DL><HR><A NAME="getHandlerRegistry()"><!-- --></A><H3>getHandlerRegistry</H3><PRE>public <A HREF="../../../javax/xml/rpc/handler/HandlerRegistry.html" title="interface in javax.xml.rpc.handler">HandlerRegistry</A> <B>getHandlerRegistry</B>()</PRE><DL><DD>Returns the configured <code>HandlerRegistry</code> instance  for this <code>Service</code> instance.<P><DD><DL><DT><B>Returns:</B><DD>HandlerRegistry<DT><B>Throws:</B><DD><CODE><code>java.lang.UnsupportedOperationException</code></CODE> - if the <code>Service</code> class does not support           the configuration of a <code>HandlerRegistry</code></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/xml/rpc/Stub.html" title="interface in javax.xml.rpc"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Service.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>

⌨️ 快捷键说明

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