📄 servicefactory.html
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="SERVICEFACTORY_PROPERTY"><!-- --></A><H3>SERVICEFACTORY_PROPERTY</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SERVICEFACTORY_PROPERTY</B></PRE><DL><DD>A constant representing the property used to lookup the name of a <code>ServiceFactory</code> implementation class.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.ServiceFactory.SERVICEFACTORY_PROPERTY">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ServiceFactory()"><!-- --></A><H3>ServiceFactory</H3><PRE>protected <B>ServiceFactory</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="newInstance()"><!-- --></A><H3>newInstance</H3><PRE>public static <A HREF="../../../javax/xml/rpc/ServiceFactory.html" title="class in javax.xml.rpc">ServiceFactory</A> <B>newInstance</B>() throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Gets an instance of the <code>ServiceFactory</code> <p>Only one copy of a factory exists and is returned to the application each time this method is called. <p> The implementation class to be used can be overridden by setting the javax.xml.rpc.ServiceFactory system property.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE></DL></DD></DL><HR><A NAME="createService(java.net.URL, javax.xml.namespace.QName)"><!-- --></A><H3>createService</H3><PRE>public abstract <A HREF="../../../javax/xml/rpc/Service.html" title="interface in javax.xml.rpc">Service</A> <B>createService</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> wsdlDocumentLocation, <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> serviceName) throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Create a <code>Service</code> instance.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>wsdlDocumentLocation</CODE> - URL for the WSDL document location for the service<DD><CODE>serviceName</CODE> - QName for the service<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 creation of the specified service</DL></DD></DL><HR><A NAME="createService(javax.xml.namespace.QName)"><!-- --></A><H3>createService</H3><PRE>public abstract <A HREF="../../../javax/xml/rpc/Service.html" title="interface in javax.xml.rpc">Service</A> <B>createService</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> serviceName) throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Create a <code>Service</code> instance.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>serviceName</CODE> - QName for the service<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 creation of the specified service</DL></DD></DL><HR><A NAME="loadService(java.lang.Class)"><!-- --></A><H3>loadService</H3><PRE>public abstract <A HREF="../../../javax/xml/rpc/Service.html" title="interface in javax.xml.rpc">Service</A> <B>loadService</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> serviceInterface) throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Create an instance of the generated service implementation class for a given service interface, if available.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>serviceInterface</CODE> - Service interface<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located</DL></DD></DL><HR><A NAME="loadService(java.net.URL, java.lang.Class, java.util.Properties)"><!-- --></A><H3>loadService</H3><PRE>public abstract <A HREF="../../../javax/xml/rpc/Service.html" title="interface in javax.xml.rpc">Service</A> <B>loadService</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> wsdlDocumentLocation, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> serviceInterface, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html" title="class or interface in java.util">Properties</A> properties) throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Create an instance of the generated service implementation class for a given service interface, if available. An implementation may use the provided <code>wsdlDocumentLocation</code> and <code>properties</code> to help locate the generated implementation class. If no such class is present, a <code>ServiceException</code> will be thrown.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>wsdlDocumentLocation</CODE> - URL for the WSDL document location for the service or null<DD><CODE>serviceInterface</CODE> - Service interface<DD><CODE>properties</CODE> - A set of implementation-specific properties to help locate the generated service implementation class<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located</DL></DD></DL><HR><A NAME="loadService(java.net.URL, javax.xml.namespace.QName, java.util.Properties)"><!-- --></A><H3>loadService</H3><PRE>public abstract <A HREF="../../../javax/xml/rpc/Service.html" title="interface in javax.xml.rpc">Service</A> <B>loadService</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> wsdlDocumentLocation, <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> serviceName, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html" title="class or interface in java.util">Properties</A> properties) throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE><DL><DD>Create an instance of the generated service implementation class for a given service, if available. The service is uniquely identified by the <code>wsdlDocumentLocation</code> and <code>serviceName</code> arguments. An implementation may use the provided <code>properties</code> to help locate the generated implementation class. If no such class is present, a <code>ServiceException</code> will be thrown.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>wsdlDocumentLocation</CODE> - URL for the WSDL document location for the service or null<DD><CODE>serviceName</CODE> - Qualified name for the service<DD><CODE>properties</CODE> - A set of implementation-specific properties to help locate the generated service implementation class<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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"> <A HREF="../../../javax/xml/rpc/ParameterMode.html" title="class in javax.xml.rpc"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="ServiceFactory.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -