/lib/docs/org/apache/xmlrpc/client/XmlRpcLocalTransportFactory.html
HTML | 286 lines | 232 code | 32 blank | 22 comment | 0 complexity | c678dedc6085ed09cf43429f8a9af6b8 MD5 | raw file
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_0) on Mon Apr 20 21:45:58 CEST 2009 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8XmlRpcLocalTransportFactory (Apache XML-RPC 3.1.2 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2009-04-20"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="XmlRpcLocalTransportFactory (Apache XML-RPC 3.1.2 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcLocalTransportFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalTransport.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A> 60 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../index.html?org/apache/xmlrpc/client/XmlRpcLocalTransportFactory.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="XmlRpcLocalTransportFactory.html" target="_top"><B>NO FRAMES</B></A> 64 <SCRIPT type="text/javascript"> 65 <!-- 66 if(window==top) { 67 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 68 } 69 //--> 70</SCRIPT> 71<NOSCRIPT> 72 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 73</NOSCRIPT> 74 75 76</FONT></TD> 77</TR> 78<TR> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92org.apache.xmlrpc.client</FONT> 93<BR> 94Class XmlRpcLocalTransportFactory</H2> 95<PRE> 96java.lang.Object 97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactoryImpl.html" title="class in org.apache.xmlrpc.client">org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl</A> 98 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.client.XmlRpcLocalTransportFactory</B> 99</PRE> 100<DL> 101<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactory.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransportFactory</A></DD> 102</DL> 103<HR> 104<DL> 105<DT><PRE>public class <B>XmlRpcLocalTransportFactory</B><DT>extends <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactoryImpl.html" title="class in org.apache.xmlrpc.client">XmlRpcTransportFactoryImpl</A></DL> 106</PRE> 107 108<P> 109<p>A transport factory being used for local XML-RPC calls. Local XML-RPC 110 calls are mainly useful for development and unit testing: Both client 111 and server are runing within the same JVM and communication is implemented 112 in simple method invokcations.</p> 113 <p>This class is thread safe and the returned instance of 114 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcTransport</CODE></A> will always return the 115 same object, an instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalTransport.html" title="class in org.apache.xmlrpc.client"><CODE>XmlRpcLocalTransport</CODE></A></p> 116<P> 117 118<P> 119<HR> 120 121<P> 122 123<!-- ======== CONSTRUCTOR SUMMARY ======== --> 124 125<A NAME="constructor_summary"><!-- --></A> 126<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 127<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 128<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 129<B>Constructor Summary</B></FONT></TH> 130</TR> 131<TR BGCOLOR="white" CLASS="TableRowColor"> 132<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalTransportFactory.html#XmlRpcLocalTransportFactory(org.apache.xmlrpc.client.XmlRpcClient)">XmlRpcLocalTransportFactory</A></B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A> pClient)</CODE> 133 134<BR> 135 Creates a new instance, operated by the given client.</TD> 136</TR> 137</TABLE> 138 139<!-- ========== METHOD SUMMARY =========== --> 140 141<A NAME="method_summary"><!-- --></A> 142<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 143<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 144<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 145<B>Method Summary</B></FONT></TH> 146</TR> 147<TR BGCOLOR="white" CLASS="TableRowColor"> 148<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 149<CODE> <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransport</A></CODE></FONT></TD> 150<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalTransportFactory.html#getTransport()">getTransport</A></B>()</CODE> 151 152<BR> 153 Returns an instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcTransport</CODE></A>.</TD> 154</TR> 155</TABLE> 156 <A NAME="methods_inherited_from_class_org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl"><!-- --></A> 157<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 158<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 159<TH ALIGN="left"><B>Methods inherited from class org.apache.xmlrpc.client.<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactoryImpl.html" title="class in org.apache.xmlrpc.client">XmlRpcTransportFactoryImpl</A></B></TH> 160</TR> 161<TR BGCOLOR="white" CLASS="TableRowColor"> 162<TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactoryImpl.html#getClient()">getClient</A></CODE></TD> 163</TR> 164</TABLE> 165 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 166<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 167<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 168<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 169</TR> 170<TR BGCOLOR="white" CLASS="TableRowColor"> 171<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> 172</TR> 173</TABLE> 174 175<P> 176 177<!-- ========= CONSTRUCTOR DETAIL ======== --> 178 179<A NAME="constructor_detail"><!-- --></A> 180<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 181<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 182<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 183<B>Constructor Detail</B></FONT></TH> 184</TR> 185</TABLE> 186 187<A NAME="XmlRpcLocalTransportFactory(org.apache.xmlrpc.client.XmlRpcClient)"><!-- --></A><H3> 188XmlRpcLocalTransportFactory</H3> 189<PRE> 190public <B>XmlRpcLocalTransportFactory</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A> pClient)</PRE> 191<DL> 192<DD>Creates a new instance, operated by the given client. 193<P> 194<DL> 195<DT><B>Parameters:</B><DD><CODE>pClient</CODE> - The client, which will invoke the factory.</DL> 196</DL> 197 198<!-- ============ METHOD DETAIL ========== --> 199 200<A NAME="method_detail"><!-- --></A> 201<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 202<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 203<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 204<B>Method Detail</B></FONT></TH> 205</TR> 206</TABLE> 207 208<A NAME="getTransport()"><!-- --></A><H3> 209getTransport</H3> 210<PRE> 211public <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransport</A> <B>getTransport</B>()</PRE> 212<DL> 213<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactory.html#getTransport()">XmlRpcTransportFactory</A></CODE></B></DD> 214<DD>Returns an instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcTransport</CODE></A>. This may 215 be a singleton, but the caller should not depend on that: 216 A new instance may as well be created for any request. 217<P> 218<DD><DL> 219 220<DT><B>Returns:</B><DD>The configured transport.</DL> 221</DD> 222</DL> 223<!-- ========= END OF CLASS DATA ========= --> 224<HR> 225 226 227<!-- ======= START OF BOTTOM NAVBAR ====== --> 228<A NAME="navbar_bottom"><!-- --></A> 229<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 230<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 231<TR> 232<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 233<A NAME="navbar_bottom_firstrow"><!-- --></A> 234<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 235 <TR ALIGN="center" VALIGN="top"> 236 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 237 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 238 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 239 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcLocalTransportFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 240 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 241 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 242 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 243 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 244 </TR> 245</TABLE> 246</TD> 247<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 248</EM> 249</TD> 250</TR> 251 252<TR> 253<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 254 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalTransport.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A> 255 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client"><B>NEXT CLASS</B></A></FONT></TD> 256<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 257 <A HREF="../../../../index.html?org/apache/xmlrpc/client/XmlRpcLocalTransportFactory.html" target="_top"><B>FRAMES</B></A> 258 <A HREF="XmlRpcLocalTransportFactory.html" target="_top"><B>NO FRAMES</B></A> 259 <SCRIPT type="text/javascript"> 260 <!-- 261 if(window==top) { 262 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 263 } 264 //--> 265</SCRIPT> 266<NOSCRIPT> 267 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 268</NOSCRIPT> 269 270 271</FONT></TD> 272</TR> 273<TR> 274<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 275 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 276<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 277DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 278</TR> 279</TABLE> 280<A NAME="skip-navbar_bottom"></A> 281<!-- ======== END OF BOTTOM NAVBAR ======= --> 282 283<HR> 284Copyright © 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. 285</BODY> 286</HTML>