01: /*
02: * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
03: * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04: */
05:
06: package javax.xml.ws;
07:
08: /** The <code>AsyncHandler</code> interface is implemented by
09: * 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: }
|