Package com.sun.xml.ws
Interface Closeable
-
- All Superinterfaces:
AutoCloseable,Closeable
public interface Closeable extends Closeable
Closeable JAX-WS proxy object.- Since:
- JAX-WS 2.0.2
- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes this object and cleans up any resources it holds, such as network connections.
-
-
-
Method Detail
-
close
void close() throws jakarta.xml.ws.WebServiceExceptionCloses this object and cleans up any resources it holds, such as network connections.This interface is implemented by a port proxy or
Dispatch. In particular, this signals the implementation of certain specs (like WS-ReliableMessaging and WS-SecureConversation) to terminate sessions that they create during the life time of a proxy object.This is not a mandatory operation, so the application does not have to call this method.
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
jakarta.xml.ws.WebServiceException- If clean up fails unexpectedly, this exception will be thrown (instead ofIOException.
-
-