Debian Codegraph @

docs/apiDocs/javax/xml/rpc/handler/HandlerRegistry.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 HandlerRegistry (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.rpc.handler.HandlerRegistry 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="HandlerRegistry (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/HandlerRegistry.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/handler/HandlerChain.html" title="interface in javax.xml.rpc.handler"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../../javax/xml/rpc/handler/MessageContext.html" title="interface in javax.xml.rpc.handler"><B>NEXT CLASS</B></A></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="HandlerRegistry.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;FIELD&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;FIELD&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.handler</FONT>
86 <BR>
87 Interface HandlerRegistry</H2>
88 <DL>
89 <DT><B>All Superinterfaces:</B> <DD>java.io.Serializable</DD>
90 </DL>
91 <DL>
92 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/axis/client/Service.HandlerRegistryImpl.html" title="class in org.apache.axis.client">Service.HandlerRegistryImpl</A></DD>
93 </DL>
94 <HR>
95 <DL>
96 <DT>public interface <B>HandlerRegistry</B><DT>extends java.io.Serializable</DL>
97
98 <P>
99 The <code>javax.xml.rpc.handler.HandlerRegistry</code>
100 provides support for the programmatic configuration of
101 handlers in a <code>HandlerRegistry</code>.
102 <p>
103 A handler chain is registered per service endpoint, as
104 indicated by the qualified name of a port. The getHandlerChain
105 returns the handler chain (as a java.util.List) for the
106 specified service endpoint. The returned handler chain is
107 configured using the java.util.List interface. Each element
108 in this list is required to be of the Java type
109 <code>javax.xml.rpc.handler.HandlerInfo</code>
110 <P>
111
112 <P>
113 <DL>
114 <DT><B>Version:</B></DT>
115 <DD>1.0</DD>
116 </DL>
117 <HR>
118
119 <P>
120 <!-- ======== NESTED CLASS SUMMARY ======== -->
121
122
123 <!-- =========== FIELD SUMMARY =========== -->
124
125
126 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
127
128
129 <!-- ========== METHOD SUMMARY =========== -->
130
131 <A NAME="method_summary"><!-- --></A>
132 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
134 <TD COLSPAN=2><FONT SIZE="+2">
135 <B>Method Summary</B></FONT></TD>
136 </TR>
137 <TR BGCOLOR="white" CLASS="TableRowColor">
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139 <CODE>&nbsp;java.util.List</CODE></FONT></TD>
140 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/handler/HandlerRegistry.html#getHandlerChain(javax.xml.namespace.QName)">getHandlerChain</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;portName)</CODE>
141
142 <BR>
143 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the handler chain for the specified service endpoint.</TD>
144 </TR>
145 <TR BGCOLOR="white" CLASS="TableRowColor">
146 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147 <CODE>&nbsp;void</CODE></FONT></TD>
148 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/handler/HandlerRegistry.html#setHandlerChain(javax.xml.namespace.QName, java.util.List)">setHandlerChain</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;portName,
149 java.util.List&nbsp;chain)</CODE>
150
151 <BR>
152 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the handler chain for the specified service endpoint
153 as a <code>java.util.List</code>.</TD>
154 </TR>
155 </TABLE>
156 &nbsp;
157 <P>
158
159 <!-- ============ FIELD DETAIL =========== -->
160
161
162 <!-- ========= CONSTRUCTOR DETAIL ======== -->
163
164
165 <!-- ============ METHOD DETAIL ========== -->
166
167 <A NAME="method_detail"><!-- --></A>
168 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
169 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
170 <TD COLSPAN=1><FONT SIZE="+2">
171 <B>Method Detail</B></FONT></TD>
172 </TR>
173 </TABLE>
174
175 <A NAME="getHandlerChain(javax.xml.namespace.QName)"><!-- --></A><H3>
176 getHandlerChain</H3>
177 <PRE>
178 public java.util.List <B>getHandlerChain</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;portName)</PRE>
179 <DL>
180 <DD>Gets the handler chain for the specified service endpoint.
181 The returned <code>List</code> is used to configure this
182 specific handler chain in this <code>HandlerRegistry</code>.
183 Each element in this list is required to be of the Java type
184 <code>javax.xml.rpc.handler.HandlerInfo</code>.
185 <P>
186 <DD><DL>
187 </DL>
188 </DD>
189 <DD><DL>
190 <DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name of the target service
191 <DT><B>Returns:</B><DD>HandlerChain java.util.List Handler chain
192 <DT><B>Throws:</B>
193 <DD><CODE>java.lang.IllegalArgumentException</CODE> - If an invalid <code>portName</code> is specified</DL>
194 </DD>
195 </DL>
196 <HR>
197
198 <A NAME="setHandlerChain(javax.xml.namespace.QName, java.util.List)"><!-- --></A><H3>
199 setHandlerChain</H3>
200 <PRE>
201 public void <B>setHandlerChain</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;portName,
202 java.util.List&nbsp;chain)</PRE>
203 <DL>
204 <DD>Sets the handler chain for the specified service endpoint
205 as a <code>java.util.List</code>. Each element in this list
206 is required to be of the Java type
207 <code>javax.xml.rpc.handler.HandlerInfo</code>.
208 <P>
209 <DD><DL>
210 </DL>
211 </DD>
212 <DD><DL>
213 <DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name of the target service endpoint<DD><CODE>chain</CODE> - a List representing configuration for the
214 handler chain
215 <DT><B>Throws:</B>
216 <DD><CODE><A HREF="../../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - if there is any error in the
217 configuration of the handler chain
218 <DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this
219 set operation is not supported. This is done to
220 avoid any overriding of a pre-configured handler
221 chain.
222 <DD><CODE>java.lang.IllegalArgumentException</CODE> - If an invalid
223 <code>portName</code> is specified</DL>
224 </DD>
225 </DL>
226 <!-- ========= END OF CLASS DATA ========= -->
227 <HR>
228
229
230 <!-- ======= START OF BOTTOM NAVBAR ====== -->
231 <A NAME="navbar_bottom"><!-- --></A>
232 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
233 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
234 <TR>
235 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
236 <A NAME="navbar_bottom_firstrow"><!-- --></A>
237 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
238 <TR ALIGN="center" VALIGN="top">
239 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
240 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
241 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
242 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/HandlerRegistry.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
243 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
244 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
245 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
246 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
247 </TR>
248 </TABLE>
249 </TD>
250 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
251 </EM>
252 </TD>
253 </TR>
254
255 <TR>
256 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
257 &nbsp;<A HREF="../../../../javax/xml/rpc/handler/HandlerChain.html" title="interface in javax.xml.rpc.handler"><B>PREV CLASS</B></A>&nbsp;
258 &nbsp;<A HREF="../../../../javax/xml/rpc/handler/MessageContext.html" title="interface in javax.xml.rpc.handler"><B>NEXT CLASS</B></A></FONT></TD>
259 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
260 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
261 &nbsp;<A HREF="HandlerRegistry.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
262 &nbsp;<SCRIPT type="text/javascript">
263 <!--
264 if(window==top) {
265 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
266 }
267 //-->
268 </SCRIPT>
269 <NOSCRIPT>
270 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
271 </NOSCRIPT>
272
273 </FONT></TD>
274 </TR>
275 <TR>
276 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
277 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
278 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
279 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
280 </TR>
281 </TABLE>
282 <A NAME="skip-navbar_bottom"></A>
283 <!-- ======== END OF BOTTOM NAVBAR ======= -->
284
285 <HR>
286 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
287 </BODY>
288 </HTML>