Debian Codegraph @

docs/apiDocs/javax/xml/rpc/server/ServiceLifecycle.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 ServiceLifecycle (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.rpc.server.ServiceLifecycle 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="ServiceLifecycle (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/ServiceLifecycle.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;PREV CLASS&nbsp;
54 &nbsp;<A HREF="../../../../javax/xml/rpc/server/ServletEndpointContext.html" title="interface in javax.xml.rpc.server"><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="ServiceLifecycle.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.server</FONT>
86 <BR>
87 Interface ServiceLifecycle</H2>
88 <HR>
89 <DL>
90 <DT>public interface <B>ServiceLifecycle</B></DL>
91
92 <P>
93 The <code>javax.xml.rpc.server.ServiceLifecycle</code> defines a lifecycle interface for a
94 JAX-RPC service endpoint. If the service endpoint class implements the
95 <code>ServiceLifeycle</code> interface, the servlet container based JAX-RPC runtime system
96 is required to manage the lifecycle of the corresponding service endpoint objects.
97 <P>
98
99 <P>
100 <DL>
101 <DT><B>Version:</B></DT>
102 <DD>1.0</DD>
103 </DL>
104 <HR>
105
106 <P>
107 <!-- ======== NESTED CLASS SUMMARY ======== -->
108
109
110 <!-- =========== FIELD SUMMARY =========== -->
111
112
113 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
114
115
116 <!-- ========== METHOD SUMMARY =========== -->
117
118 <A NAME="method_summary"><!-- --></A>
119 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121 <TD COLSPAN=2><FONT SIZE="+2">
122 <B>Method Summary</B></FONT></TD>
123 </TR>
124 <TR BGCOLOR="white" CLASS="TableRowColor">
125 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126 <CODE>&nbsp;void</CODE></FONT></TD>
127 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/server/ServiceLifecycle.html#destroy()">destroy</A></B>()</CODE>
128
129 <BR>
130 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JAX-RPC runtime system ends the lifecycle of a service endpoint instance by
131 invoking the destroy method.</TD>
132 </TR>
133 <TR BGCOLOR="white" CLASS="TableRowColor">
134 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135 <CODE>&nbsp;void</CODE></FONT></TD>
136 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/server/ServiceLifecycle.html#init(java.lang.Object)">init</A></B>(java.lang.Object&nbsp;context)</CODE>
137
138 <BR>
139 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for initialization of a service endpoint.</TD>
140 </TR>
141 </TABLE>
142 &nbsp;
143 <P>
144
145 <!-- ============ FIELD DETAIL =========== -->
146
147
148 <!-- ========= CONSTRUCTOR DETAIL ======== -->
149
150
151 <!-- ============ METHOD DETAIL ========== -->
152
153 <A NAME="method_detail"><!-- --></A>
154 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
155 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
156 <TD COLSPAN=1><FONT SIZE="+2">
157 <B>Method Detail</B></FONT></TD>
158 </TR>
159 </TABLE>
160
161 <A NAME="init(java.lang.Object)"><!-- --></A><H3>
162 init</H3>
163 <PRE>
164 public void <B>init</B>(java.lang.Object&nbsp;context)
165 throws <A HREF="../../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE>
166 <DL>
167 <DD>Used for initialization of a service endpoint. After a service
168 endpoint instance (an instance of a service endpoint class) is
169 instantiated, the JAX-RPC runtime system invokes the
170 <code>init</code> method. The service endpoint class uses the
171 <code>init</code> method to initialize its configuration
172 and setup access to any external resources. The context parameter
173 in the <code>init</code> method enables the endpoint instance to
174 access the endpoint context provided by the underlying JAX-RPC
175 runtime system.
176 <p>
177 The init method implementation should typecast the context
178 parameter to an appropriate Java type. For service endpoints
179 deployed on a servlet container based JAX-RPC runtime system,
180 the <code>context</code> parameter is of the Java type
181 <code>javax.xml.rpc.server.ServletEndpointContext</code>. The
182 <code>ServletEndpointContext</code> provides an endpoint context
183 maintained by the underlying servlet container based JAX-RPC
184 runtime system
185 <p>
186 <P>
187 <DD><DL>
188 <DT><B>Parameters:</B><DD><CODE>context</CODE> - Endpoint context for a JAX-RPC service endpoint
189 <DT><B>Throws:</B>
190 <DD><CODE><A HREF="../../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If any error in initialization of the service endpoint; or if any
191 illegal context has been provided in the init method</DL>
192 </DD>
193 </DL>
194 <HR>
195
196 <A NAME="destroy()"><!-- --></A><H3>
197 destroy</H3>
198 <PRE>
199 public void <B>destroy</B>()</PRE>
200 <DL>
201 <DD>JAX-RPC runtime system ends the lifecycle of a service endpoint instance by
202 invoking the destroy method. The service endpoint releases its resources in
203 the implementation of the destroy method.
204 <P>
205 <DD><DL>
206 </DL>
207 </DD>
208 </DL>
209 <!-- ========= END OF CLASS DATA ========= -->
210 <HR>
211
212
213 <!-- ======= START OF BOTTOM NAVBAR ====== -->
214 <A NAME="navbar_bottom"><!-- --></A>
215 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
216 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
217 <TR>
218 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
219 <A NAME="navbar_bottom_firstrow"><!-- --></A>
220 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
221 <TR ALIGN="center" VALIGN="top">
222 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
223 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
224 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
225 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServiceLifecycle.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
226 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
227 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
228 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
229 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
230 </TR>
231 </TABLE>
232 </TD>
233 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
234 </EM>
235 </TD>
236 </TR>
237
238 <TR>
239 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
240 &nbsp;PREV CLASS&nbsp;
241 &nbsp;<A HREF="../../../../javax/xml/rpc/server/ServletEndpointContext.html" title="interface in javax.xml.rpc.server"><B>NEXT CLASS</B></A></FONT></TD>
242 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
243 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
244 &nbsp;<A HREF="ServiceLifecycle.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
245 &nbsp;<SCRIPT type="text/javascript">
246 <!--
247 if(window==top) {
248 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
249 }
250 //-->
251 </SCRIPT>
252 <NOSCRIPT>
253 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
254 </NOSCRIPT>
255
256 </FONT></TD>
257 </TR>
258 <TR>
259 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
260 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
261 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
262 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
263 </TR>
264 </TABLE>
265 <A NAME="skip-navbar_bottom"></A>
266 <!-- ======== END OF BOTTOM NAVBAR ======= -->
267
268 <HR>
269 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
270 </BODY>
271 </HTML>