PageRenderTime 97ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/docs/org/apache/xmlrpc/server/PropertyHandlerMapping.html

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 454 lines | 387 code | 43 blank | 24 comment | 0 complexity | 728f789a9b6de8693e603aa2775bc804 MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  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:46:00 CEST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. PropertyHandlerMapping (Apache XML-RPC 3.1.2 API)
  9. </TITLE>
  10. <META NAME="date" CONTENT="2009-04-20">
  11. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  12. <SCRIPT type="text/javascript">
  13. function windowTitle()
  14. {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="PropertyHandlerMapping (Apache XML-RPC 3.1.2 API)";
  17. }
  18. }
  19. </SCRIPT>
  20. <NOSCRIPT>
  21. </NOSCRIPT>
  22. </HEAD>
  23. <BODY BGCOLOR="white" onload="windowTitle();">
  24. <HR>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <A NAME="navbar_top"><!-- --></A>
  27. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  28. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  29. <TR>
  30. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  31. <A NAME="navbar_top_firstrow"><!-- --></A>
  32. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  33. <TR ALIGN="center" VALIGN="top">
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PropertyHandlerMapping.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  41. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  42. </TR>
  43. </TABLE>
  44. </TD>
  45. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  46. </EM>
  47. </TD>
  48. </TR>
  49. <TR>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. &nbsp;<A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.AuthenticationHandler.html" title="interface in org.apache.xmlrpc.server"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../org/apache/xmlrpc/server/ReflectiveXmlRpcHandler.html" title="class in org.apache.xmlrpc.server"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../index.html?org/apache/xmlrpc/server/PropertyHandlerMapping.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="PropertyHandlerMapping.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  56. &nbsp;<SCRIPT type="text/javascript">
  57. <!--
  58. if(window==top) {
  59. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  60. }
  61. //-->
  62. </SCRIPT>
  63. <NOSCRIPT>
  64. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  65. </NOSCRIPT>
  66. </FONT></TD>
  67. </TR>
  68. <TR>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  71. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  72. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  73. </TR>
  74. </TABLE>
  75. <A NAME="skip-navbar_top"></A>
  76. <!-- ========= END OF TOP NAVBAR ========= -->
  77. <HR>
  78. <!-- ======== START OF CLASS DATA ======== -->
  79. <H2>
  80. <FONT SIZE="-1">
  81. org.apache.xmlrpc.server</FONT>
  82. <BR>
  83. Class PropertyHandlerMapping</H2>
  84. <PRE>
  85. java.lang.Object
  86. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html" title="class in org.apache.xmlrpc.server">org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping</A>
  87. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.server.PropertyHandlerMapping</B>
  88. </PRE>
  89. <DL>
  90. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/metadata/XmlRpcListableHandlerMapping.html" title="interface in org.apache.xmlrpc.metadata">XmlRpcListableHandlerMapping</A>, <A HREF="../../../../org/apache/xmlrpc/server/XmlRpcHandlerMapping.html" title="interface in org.apache.xmlrpc.server">XmlRpcHandlerMapping</A></DD>
  91. </DL>
  92. <HR>
  93. <DL>
  94. <DT><PRE>public class <B>PropertyHandlerMapping</B><DT>extends <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html" title="class in org.apache.xmlrpc.server">AbstractReflectiveHandlerMapping</A></DL>
  95. </PRE>
  96. <P>
  97. A handler mapping based on a property file. The property file
  98. contains a set of properties. The property key is taken as the
  99. handler name. The property value is taken as the name of a
  100. class being instantiated. For any non-void, non-static, and
  101. public method in the class, an entry in the handler map is
  102. generated. A typical use would be, to specify interface names
  103. as the property keys and implementations as the values.
  104. <P>
  105. <P>
  106. <HR>
  107. <P>
  108. <!-- ======== NESTED CLASS SUMMARY ======== -->
  109. <A NAME="nested_class_summary"><!-- --></A>
  110. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  111. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  112. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  113. <B>Nested Class Summary</B></FONT></TH>
  114. </TR>
  115. </TABLE>
  116. &nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping"><!-- --></A>
  117. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  118. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  119. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.xmlrpc.server.<A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html" title="class in org.apache.xmlrpc.server">AbstractReflectiveHandlerMapping</A></B></TH>
  120. </TR>
  121. <TR BGCOLOR="white" CLASS="TableRowColor">
  122. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.AuthenticationHandler.html" title="interface in org.apache.xmlrpc.server">AbstractReflectiveHandlerMapping.AuthenticationHandler</A></CODE></TD>
  123. </TR>
  124. </TABLE>
  125. &nbsp;
  126. <!-- =========== FIELD SUMMARY =========== -->
  127. <A NAME="field_summary"><!-- --></A>
  128. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  129. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  130. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  131. <B>Field Summary</B></FONT></TH>
  132. </TR>
  133. </TABLE>
  134. &nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping"><!-- --></A>
  135. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  136. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  137. <TH ALIGN="left"><B>Fields inherited from class org.apache.xmlrpc.server.<A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html" title="class in org.apache.xmlrpc.server">AbstractReflectiveHandlerMapping</A></B></TH>
  138. </TR>
  139. <TR BGCOLOR="white" CLASS="TableRowColor">
  140. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#handlerMap">handlerMap</A></CODE></TD>
  141. </TR>
  142. </TABLE>
  143. &nbsp;
  144. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  145. <A NAME="constructor_summary"><!-- --></A>
  146. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  147. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  148. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  149. <B>Constructor Summary</B></FONT></TH>
  150. </TR>
  151. <TR BGCOLOR="white" CLASS="TableRowColor">
  152. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/server/PropertyHandlerMapping.html#PropertyHandlerMapping()">PropertyHandlerMapping</A></B>()</CODE>
  153. <BR>
  154. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  155. </TR>
  156. </TABLE>
  157. &nbsp;
  158. <!-- ========== METHOD SUMMARY =========== -->
  159. <A NAME="method_summary"><!-- --></A>
  160. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  161. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  162. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  163. <B>Method Summary</B></FONT></TH>
  164. </TR>
  165. <TR BGCOLOR="white" CLASS="TableRowColor">
  166. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  167. <CODE>&nbsp;void</CODE></FONT></TD>
  168. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/server/PropertyHandlerMapping.html#addHandler(java.lang.String, java.lang.Class)">addHandler</A></B>(java.lang.String&nbsp;pKey,
  169. java.lang.Class&nbsp;pClass)</CODE>
  170. <BR>
  171. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds handlers for the given object to the mapping.</TD>
  172. </TR>
  173. <TR BGCOLOR="white" CLASS="TableRowColor">
  174. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  175. <CODE>&nbsp;void</CODE></FONT></TD>
  176. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/server/PropertyHandlerMapping.html#load(java.lang.ClassLoader, java.util.Map)">load</A></B>(java.lang.ClassLoader&nbsp;pClassLoader,
  177. java.util.Map&nbsp;pMap)</CODE>
  178. <BR>
  179. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads handler definitions from an existing Map.</TD>
  180. </TR>
  181. <TR BGCOLOR="white" CLASS="TableRowColor">
  182. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  183. <CODE>&nbsp;void</CODE></FONT></TD>
  184. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/server/PropertyHandlerMapping.html#load(java.lang.ClassLoader, java.lang.String)">load</A></B>(java.lang.ClassLoader&nbsp;pClassLoader,
  185. java.lang.String&nbsp;pResource)</CODE>
  186. <BR>
  187. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads handler definitions from a resource file.</TD>
  188. </TR>
  189. <TR BGCOLOR="white" CLASS="TableRowColor">
  190. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  191. <CODE>&nbsp;void</CODE></FONT></TD>
  192. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/server/PropertyHandlerMapping.html#load(java.lang.ClassLoader, java.net.URL)">load</A></B>(java.lang.ClassLoader&nbsp;pClassLoader,
  193. java.net.URL&nbsp;pURL)</CODE>
  194. <BR>
  195. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads handler definitions from a property file.</TD>
  196. </TR>
  197. <TR BGCOLOR="white" CLASS="TableRowColor">
  198. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  199. <CODE>protected &nbsp;java.lang.Class</CODE></FONT></TD>
  200. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/server/PropertyHandlerMapping.html#newHandlerClass(java.lang.ClassLoader, java.lang.String)">newHandlerClass</A></B>(java.lang.ClassLoader&nbsp;pClassLoader,
  201. java.lang.String&nbsp;pClassName)</CODE>
  202. <BR>
  203. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  204. </TR>
  205. <TR BGCOLOR="white" CLASS="TableRowColor">
  206. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  207. <CODE>&nbsp;void</CODE></FONT></TD>
  208. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/server/PropertyHandlerMapping.html#removeHandler(java.lang.String)">removeHandler</A></B>(java.lang.String&nbsp;pKey)</CODE>
  209. <BR>
  210. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all handlers with the given class key.</TD>
  211. </TR>
  212. </TABLE>
  213. &nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping"><!-- --></A>
  214. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  215. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  216. <TH ALIGN="left"><B>Methods inherited from class org.apache.xmlrpc.server.<A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html" title="class in org.apache.xmlrpc.server">AbstractReflectiveHandlerMapping</A></B></TH>
  217. </TR>
  218. <TR BGCOLOR="white" CLASS="TableRowColor">
  219. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#getAuthenticationHandler()">getAuthenticationHandler</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#getHandler(java.lang.String)">getHandler</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#getListMethods()">getListMethods</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#getMethodHelp(java.lang.Class, java.lang.reflect.Method[])">getMethodHelp</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#getMethodHelp(java.lang.String)">getMethodHelp</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#getMethodSignature(java.lang.String)">getMethodSignature</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#getRequestProcessorFactoryFactory()">getRequestProcessorFactoryFactory</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#getSignature(java.lang.reflect.Method[])">getSignature</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#getTypeConverterFactory()">getTypeConverterFactory</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#isHandlerMethod(java.lang.reflect.Method)">isHandlerMethod</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#isVoidMethodEnabled()">isVoidMethodEnabled</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#newXmlRpcHandler(java.lang.Class, java.lang.reflect.Method[])">newXmlRpcHandler</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#registerPublicMethods(java.lang.String, java.lang.Class)">registerPublicMethods</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#setAuthenticationHandler(org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.AuthenticationHandler)">setAuthenticationHandler</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#setRequestProcessorFactoryFactory(org.apache.xmlrpc.server.RequestProcessorFactoryFactory)">setRequestProcessorFactoryFactory</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#setTypeConverterFactory(org.apache.xmlrpc.common.TypeConverterFactory)">setTypeConverterFactory</A>, <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#setVoidMethodEnabled(boolean)">setVoidMethodEnabled</A></CODE></TD>
  220. </TR>
  221. </TABLE>
  222. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  223. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  224. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  225. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  226. </TR>
  227. <TR BGCOLOR="white" CLASS="TableRowColor">
  228. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  229. </TR>
  230. </TABLE>
  231. &nbsp;
  232. <P>
  233. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  234. <A NAME="constructor_detail"><!-- --></A>
  235. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  236. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  237. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  238. <B>Constructor Detail</B></FONT></TH>
  239. </TR>
  240. </TABLE>
  241. <A NAME="PropertyHandlerMapping()"><!-- --></A><H3>
  242. PropertyHandlerMapping</H3>
  243. <PRE>
  244. public <B>PropertyHandlerMapping</B>()</PRE>
  245. <DL>
  246. </DL>
  247. <!-- ============ METHOD DETAIL ========== -->
  248. <A NAME="method_detail"><!-- --></A>
  249. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  250. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  251. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  252. <B>Method Detail</B></FONT></TH>
  253. </TR>
  254. </TABLE>
  255. <A NAME="load(java.lang.ClassLoader, java.lang.String)"><!-- --></A><H3>
  256. load</H3>
  257. <PRE>
  258. public void <B>load</B>(java.lang.ClassLoader&nbsp;pClassLoader,
  259. java.lang.String&nbsp;pResource)
  260. throws java.io.IOException,
  261. <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  262. <DL>
  263. <DD>Reads handler definitions from a resource file.
  264. <P>
  265. <DD><DL>
  266. <DT><B>Parameters:</B><DD><CODE>pClassLoader</CODE> - The class loader being used to load
  267. handler classes.<DD><CODE>pResource</CODE> - The resource being used, for example
  268. "org/apache/xmlrpc/webserver/XmlRpcServlet.properties"
  269. <DT><B>Throws:</B>
  270. <DD><CODE>java.io.IOException</CODE> - Loading the property file failed.
  271. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE> - Initializing the handlers failed.</DL>
  272. </DD>
  273. </DL>
  274. <HR>
  275. <A NAME="load(java.lang.ClassLoader, java.net.URL)"><!-- --></A><H3>
  276. load</H3>
  277. <PRE>
  278. public void <B>load</B>(java.lang.ClassLoader&nbsp;pClassLoader,
  279. java.net.URL&nbsp;pURL)
  280. throws java.io.IOException,
  281. <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  282. <DL>
  283. <DD>Reads handler definitions from a property file.
  284. <P>
  285. <DD><DL>
  286. <DT><B>Parameters:</B><DD><CODE>pClassLoader</CODE> - The class loader being used to load
  287. handler classes.<DD><CODE>pURL</CODE> - The URL from which to load the property file
  288. <DT><B>Throws:</B>
  289. <DD><CODE>java.io.IOException</CODE> - Loading the property file failed.
  290. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE> - Initializing the handlers failed.</DL>
  291. </DD>
  292. </DL>
  293. <HR>
  294. <A NAME="load(java.lang.ClassLoader, java.util.Map)"><!-- --></A><H3>
  295. load</H3>
  296. <PRE>
  297. public void <B>load</B>(java.lang.ClassLoader&nbsp;pClassLoader,
  298. java.util.Map&nbsp;pMap)
  299. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  300. <DL>
  301. <DD>Reads handler definitions from an existing Map.
  302. <P>
  303. <DD><DL>
  304. <DT><B>Parameters:</B><DD><CODE>pClassLoader</CODE> - The class loader being used to load
  305. handler classes.<DD><CODE>pMap</CODE> - The existing Map to read from
  306. <DT><B>Throws:</B>
  307. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE> - Initializing the handlers failed.</DL>
  308. </DD>
  309. </DL>
  310. <HR>
  311. <A NAME="newHandlerClass(java.lang.ClassLoader, java.lang.String)"><!-- --></A><H3>
  312. newHandlerClass</H3>
  313. <PRE>
  314. protected java.lang.Class <B>newHandlerClass</B>(java.lang.ClassLoader&nbsp;pClassLoader,
  315. java.lang.String&nbsp;pClassName)
  316. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  317. <DL>
  318. <DD><DL>
  319. <DT><B>Throws:</B>
  320. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE></DL>
  321. </DD>
  322. </DL>
  323. <HR>
  324. <A NAME="addHandler(java.lang.String, java.lang.Class)"><!-- --></A><H3>
  325. addHandler</H3>
  326. <PRE>
  327. public void <B>addHandler</B>(java.lang.String&nbsp;pKey,
  328. java.lang.Class&nbsp;pClass)
  329. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  330. <DL>
  331. <DD>Adds handlers for the given object to the mapping.
  332. The handlers are build by invoking
  333. <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#registerPublicMethods(java.lang.String, java.lang.Class)"><CODE>AbstractReflectiveHandlerMapping.registerPublicMethods(String, Class)</CODE></A>.
  334. <P>
  335. <DD><DL>
  336. <DT><B>Parameters:</B><DD><CODE>pKey</CODE> - The class key, which is passed
  337. to <A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.html#registerPublicMethods(java.lang.String, java.lang.Class)"><CODE>AbstractReflectiveHandlerMapping.registerPublicMethods(String, Class)</CODE></A>.<DD><CODE>pClass</CODE> - Class, which is responsible for handling the request.
  338. <DT><B>Throws:</B>
  339. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE></DL>
  340. </DD>
  341. </DL>
  342. <HR>
  343. <A NAME="removeHandler(java.lang.String)"><!-- --></A><H3>
  344. removeHandler</H3>
  345. <PRE>
  346. public void <B>removeHandler</B>(java.lang.String&nbsp;pKey)</PRE>
  347. <DL>
  348. <DD>Removes all handlers with the given class key.
  349. <P>
  350. <DD><DL>
  351. </DL>
  352. </DD>
  353. </DL>
  354. <!-- ========= END OF CLASS DATA ========= -->
  355. <HR>
  356. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  357. <A NAME="navbar_bottom"><!-- --></A>
  358. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  359. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  360. <TR>
  361. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  362. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  363. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  364. <TR ALIGN="center" VALIGN="top">
  365. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  366. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  367. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  368. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PropertyHandlerMapping.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  369. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  370. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  371. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  372. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  373. </TR>
  374. </TABLE>
  375. </TD>
  376. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  377. </EM>
  378. </TD>
  379. </TR>
  380. <TR>
  381. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  382. &nbsp;<A HREF="../../../../org/apache/xmlrpc/server/AbstractReflectiveHandlerMapping.AuthenticationHandler.html" title="interface in org.apache.xmlrpc.server"><B>PREV CLASS</B></A>&nbsp;
  383. &nbsp;<A HREF="../../../../org/apache/xmlrpc/server/ReflectiveXmlRpcHandler.html" title="class in org.apache.xmlrpc.server"><B>NEXT CLASS</B></A></FONT></TD>
  384. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  385. <A HREF="../../../../index.html?org/apache/xmlrpc/server/PropertyHandlerMapping.html" target="_top"><B>FRAMES</B></A> &nbsp;
  386. &nbsp;<A HREF="PropertyHandlerMapping.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  387. &nbsp;<SCRIPT type="text/javascript">
  388. <!--
  389. if(window==top) {
  390. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  391. }
  392. //-->
  393. </SCRIPT>
  394. <NOSCRIPT>
  395. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  396. </NOSCRIPT>
  397. </FONT></TD>
  398. </TR>
  399. <TR>
  400. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  401. SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  402. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  403. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  404. </TR>
  405. </TABLE>
  406. <A NAME="skip-navbar_bottom"></A>
  407. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  408. <HR>
  409. Copyright &#169; 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
  410. </BODY>
  411. </HTML>