Debian Codegraph @

docs/apiDocs/javax/xml/rpc/Stub.html

raw
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.4.2_08) on Sat Apr 22 18:57:16 PDT 2006 -->
6 <TITLE>
7 Stub (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.rpc.Stub interface">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="Stub (Axis API)";
18 }
19 </SCRIPT>
20
21 </HEAD>
22
23 <BODY BGCOLOR="white" onload="windowTitle();">
24
25
26 <!-- ========= START OF TOP NAVBAR ======= -->
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30 <TR>
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Stub.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43 </TR>
44 </TABLE>
45 </TD>
46 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47 </EM>
48 </TD>
49 </TR>
50
51 <TR>
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 &nbsp;<A HREF="../../../javax/xml/rpc/Service.html" title="interface in javax.xml.rpc"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;NEXT CLASS</FONT></TD>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
57 &nbsp;<A HREF="Stub.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
58 &nbsp;<SCRIPT type="text/javascript">
59 <!--
60 if(window==top) {
61 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
62 }
63 //-->
64 </SCRIPT>
65 <NOSCRIPT>
66 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
67 </NOSCRIPT>
68
69 </FONT></TD>
70 </TR>
71 <TR>
72 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76 </TR>
77 </TABLE>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80
81 <HR>
82 <!-- ======== START OF CLASS DATA ======== -->
83 <H2>
84 <FONT SIZE="-1">
85 javax.xml.rpc</FONT>
86 <BR>
87 Interface Stub</H2>
88 <DL>
89 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/axis/client/Stub.html" title="class in org.apache.axis.client">Stub</A></DD>
90 </DL>
91 <HR>
92 <DL>
93 <DT>public interface <B>Stub</B></DL>
94
95 <P>
96 The interface <code>javax.xml.rpc.Stub</code> is the common base interface
97 for the stub classes. All generated stub classes are required to
98 implement the <code>javax.xml.rpc.Stub</code> interface. An instance
99 of a stub class represents a client side proxy or stub instance for
100 the target service endpoint.
101
102 <p>The <code>javax.xml.rpc.Stub</code> interface provides an
103 extensible property mechanism for the dynamic configuration of
104 a stub instance.
105 <P>
106
107 <P>
108 <DL>
109 <DT><B>Version:</B></DT>
110 <DD>1.0</DD>
111 </DL>
112 <HR>
113
114 <P>
115 <!-- ======== NESTED CLASS SUMMARY ======== -->
116
117
118 <!-- =========== FIELD SUMMARY =========== -->
119
120 <A NAME="field_summary"><!-- --></A>
121 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123 <TD COLSPAN=2><FONT SIZE="+2">
124 <B>Field Summary</B></FONT></TD>
125 </TR>
126 <TR BGCOLOR="white" CLASS="TableRowColor">
127 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
128 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
129 <TD><CODE><B><A HREF="../../../javax/xml/rpc/Stub.html#ENDPOINT_ADDRESS_PROPERTY">ENDPOINT_ADDRESS_PROPERTY</A></B></CODE>
130
131 <BR>
132 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Standard property: Target service endpoint address.</TD>
133 </TR>
134 <TR BGCOLOR="white" CLASS="TableRowColor">
135 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
137 <TD><CODE><B><A HREF="../../../javax/xml/rpc/Stub.html#PASSWORD_PROPERTY">PASSWORD_PROPERTY</A></B></CODE>
138
139 <BR>
140 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Standard property: Password for authentication.</TD>
141 </TR>
142 <TR BGCOLOR="white" CLASS="TableRowColor">
143 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
145 <TD><CODE><B><A HREF="../../../javax/xml/rpc/Stub.html#SESSION_MAINTAIN_PROPERTY">SESSION_MAINTAIN_PROPERTY</A></B></CODE>
146
147 <BR>
148 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Standard property: This boolean property is used by a service
149 client to indicate whether or not it wants to participate in
150 a session with a service endpoint.</TD>
151 </TR>
152 <TR BGCOLOR="white" CLASS="TableRowColor">
153 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
155 <TD><CODE><B><A HREF="../../../javax/xml/rpc/Stub.html#USERNAME_PROPERTY">USERNAME_PROPERTY</A></B></CODE>
156
157 <BR>
158 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Standard property: User name for authentication.</TD>
159 </TR>
160 </TABLE>
161 &nbsp;
162 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
163
164
165 <!-- ========== METHOD SUMMARY =========== -->
166
167 <A NAME="method_summary"><!-- --></A>
168 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
169 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
170 <TD COLSPAN=2><FONT SIZE="+2">
171 <B>Method Summary</B></FONT></TD>
172 </TR>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175 <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
176 <TD><CODE><B><A HREF="../../../javax/xml/rpc/Stub.html#_getProperty(java.lang.String)">_getProperty</A></B>(java.lang.String&nbsp;name)</CODE>
177
178 <BR>
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the value of a specific configuration property.</TD>
180 </TR>
181 <TR BGCOLOR="white" CLASS="TableRowColor">
182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
184 <TD><CODE><B><A HREF="../../../javax/xml/rpc/Stub.html#_getPropertyNames()">_getPropertyNames</A></B>()</CODE>
185
186 <BR>
187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an <code>Iterator</code> view of the names of the properties
188 that can be configured on this stub instance.</TD>
189 </TR>
190 <TR BGCOLOR="white" CLASS="TableRowColor">
191 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192 <CODE>&nbsp;void</CODE></FONT></TD>
193 <TD><CODE><B><A HREF="../../../javax/xml/rpc/Stub.html#_setProperty(java.lang.String, java.lang.Object)">_setProperty</A></B>(java.lang.String&nbsp;name,
194 java.lang.Object&nbsp;value)</CODE>
195
196 <BR>
197 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name and value of a configuration property
198 for this Stub instance.</TD>
199 </TR>
200 </TABLE>
201 &nbsp;
202 <P>
203
204 <!-- ============ FIELD DETAIL =========== -->
205
206 <A NAME="field_detail"><!-- --></A>
207 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
208 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
209 <TD COLSPAN=1><FONT SIZE="+2">
210 <B>Field Detail</B></FONT></TD>
211 </TR>
212 </TABLE>
213
214 <A NAME="USERNAME_PROPERTY"><!-- --></A><H3>
215 USERNAME_PROPERTY</H3>
216 <PRE>
217 public static final java.lang.String <B>USERNAME_PROPERTY</B></PRE>
218 <DL>
219 <DD>Standard property: User name for authentication.
220 <p>Type: java.lang.String
221 <P>
222 <DL>
223 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Stub.USERNAME_PROPERTY">Constant Field Values</A></DL>
224 </DL>
225 <HR>
226
227 <A NAME="PASSWORD_PROPERTY"><!-- --></A><H3>
228 PASSWORD_PROPERTY</H3>
229 <PRE>
230 public static final java.lang.String <B>PASSWORD_PROPERTY</B></PRE>
231 <DL>
232 <DD>Standard property: Password for authentication.
233 <p>Type: java.lang.String
234 <P>
235 <DL>
236 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Stub.PASSWORD_PROPERTY">Constant Field Values</A></DL>
237 </DL>
238 <HR>
239
240 <A NAME="ENDPOINT_ADDRESS_PROPERTY"><!-- --></A><H3>
241 ENDPOINT_ADDRESS_PROPERTY</H3>
242 <PRE>
243 public static final java.lang.String <B>ENDPOINT_ADDRESS_PROPERTY</B></PRE>
244 <DL>
245 <DD>Standard property: Target service endpoint address. The
246 URI scheme for the endpoint address specification must
247 correspond to the protocol/transport binding for this
248 stub class.
249 <p>Type: java.lang.String
250 <P>
251 <DL>
252 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY">Constant Field Values</A></DL>
253 </DL>
254 <HR>
255
256 <A NAME="SESSION_MAINTAIN_PROPERTY"><!-- --></A><H3>
257 SESSION_MAINTAIN_PROPERTY</H3>
258 <PRE>
259 public static final java.lang.String <B>SESSION_MAINTAIN_PROPERTY</B></PRE>
260 <DL>
261 <DD>Standard property: This boolean property is used by a service
262 client to indicate whether or not it wants to participate in
263 a session with a service endpoint. If this property is set to
264 true, the service client indicates that it wants the session
265 to be maintained. If set to false, the session is not maintained.
266 The default value for this property is false.
267 <p>Type: java.lang.Boolean
268 <P>
269 <DL>
270 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Stub.SESSION_MAINTAIN_PROPERTY">Constant Field Values</A></DL>
271 </DL>
272
273 <!-- ========= CONSTRUCTOR DETAIL ======== -->
274
275
276 <!-- ============ METHOD DETAIL ========== -->
277
278 <A NAME="method_detail"><!-- --></A>
279 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
280 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
281 <TD COLSPAN=1><FONT SIZE="+2">
282 <B>Method Detail</B></FONT></TD>
283 </TR>
284 </TABLE>
285
286 <A NAME="_setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3>
287 _setProperty</H3>
288 <PRE>
289 public void <B>_setProperty</B>(java.lang.String&nbsp;name,
290 java.lang.Object&nbsp;value)</PRE>
291 <DL>
292 <DD>Sets the name and value of a configuration property
293 for this Stub instance. If the Stub instances contains
294 a value of the same property, the old value is replaced.
295 <p>Note that the <code>_setProperty</code> method may not
296 perform validity check on a configured property value. An
297 example is the standard property for the target service
298 endpoint address that is not checked for validity in the
299 <code>_setProperty</code> method.
300 In this case, stub configuration errors are detected at
301 the remote method invocation.
302 <P>
303 <DD><DL>
304 <DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the configuration property<DD><CODE>value</CODE> - Value of the property
305 <DT><B>Throws:</B>
306 <DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - <ul>
307 <li>If an optional standard property name is
308 specified, however this Stub implementation
309 class does not support the configuration of
310 this property.
311 <li>If an invalid or unsupported property name is
312 specified or if a value of mismatched property
313 type is passed.
314 <li>If there is any error in the configuration of
315 a valid property.
316 </ul></DL>
317 </DD>
318 </DL>
319 <HR>
320
321 <A NAME="_getProperty(java.lang.String)"><!-- --></A><H3>
322 _getProperty</H3>
323 <PRE>
324 public java.lang.Object <B>_getProperty</B>(java.lang.String&nbsp;name)</PRE>
325 <DL>
326 <DD>Gets the value of a specific configuration property.
327 <P>
328 <DD><DL>
329 <DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property whose value is to be
330 retrieved
331 <DT><B>Returns:</B><DD>Value of the configuration property
332 <DT><B>Throws:</B>
333 <DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - if an invalid or
334 unsupported property name is passed.</DL>
335 </DD>
336 </DL>
337 <HR>
338
339 <A NAME="_getPropertyNames()"><!-- --></A><H3>
340 _getPropertyNames</H3>
341 <PRE>
342 public java.util.Iterator <B>_getPropertyNames</B>()</PRE>
343 <DL>
344 <DD>Returns an <code>Iterator</code> view of the names of the properties
345 that can be configured on this stub instance.
346 <P>
347 <DD><DL>
348
349 <DT><B>Returns:</B><DD>Iterator for the property names of the type
350 <code>java.lang.String</code></DL>
351 </DD>
352 </DL>
353 <!-- ========= END OF CLASS DATA ========= -->
354 <HR>
355
356
357 <!-- ======= START OF BOTTOM NAVBAR ====== -->
358 <A NAME="navbar_bottom"><!-- --></A>
359 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
360 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
361 <TR>
362 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
363 <A NAME="navbar_bottom_firstrow"><!-- --></A>
364 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
365 <TR ALIGN="center" VALIGN="top">
366 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
367 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
368 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
369 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Stub.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
370 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
371 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
372 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
373 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
374 </TR>
375 </TABLE>
376 </TD>
377 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
378 </EM>
379 </TD>
380 </TR>
381
382 <TR>
383 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
384 &nbsp;<A HREF="../../../javax/xml/rpc/Service.html" title="interface in javax.xml.rpc"><B>PREV CLASS</B></A>&nbsp;
385 &nbsp;NEXT CLASS</FONT></TD>
386 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
387 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
388 &nbsp;<A HREF="Stub.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
389 &nbsp;<SCRIPT type="text/javascript">
390 <!--
391 if(window==top) {
392 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
393 }
394 //-->
395 </SCRIPT>
396 <NOSCRIPT>
397 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
398 </NOSCRIPT>
399
400 </FONT></TD>
401 </TR>
402 <TR>
403 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
404 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
405 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
406 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
407 </TR>
408 </TABLE>
409 <A NAME="skip-navbar_bottom"></A>
410 <!-- ======== END OF BOTTOM NAVBAR ======= -->
411
412 <HR>
413 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
414 </BODY>
415 </HTML>