KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > ws > AsyncHandler


1 /*
2  * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 package javax.xml.ws;
7
8 /** The <code>AsyncHandler</code> interface is implemented by
9  * clients that wish to receive callback notification of the completion of
10  * service endpoint operations invoked asynchronously.
11  *
12  * @since JAX-WS 2.0
13 **/

14 public interface AsyncHandler<T> {
15
16     /** Called when the response to an asynchronous operation is available.
17      *
18      * @param res The response to the operation invocation.
19      *
20     **/

21     void handleResponse(Response<T> res);
22 }
23
Popular Tags