7.2. New Features
Client proxy support for java.io.Closeable interface
When you close a client proxy using the java.io.Closeable interface (which is supported, for example, by the
JaxWsClientProxy
class), any open request/response sequences are now terminated. For example, if proxy
is an instance of JaxWsClientProxy
, you can close the proxy as follows:
((java.io.Closeable)proxy).close()