public interface Closeable extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this object and cleans up any resources
it holds, such as network connections.
|
void close()
throws WebServiceException
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.
close in interface AutoCloseableclose in interface CloseableWebServiceException - If clean up fails unexpectedly, this exception
will be thrown (instead of IOException.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.