| Package | Description |
|---|---|
| oracle.javatools.patterns |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CloseableWithNotification
The
CloseableWithNotification interface extends the Closeable interface to define the contract for an object that can notify registered listeners about its closing state. |
| Modifier and Type | Class and Description |
|---|---|
class |
CloseableImpl |
| Modifier and Type | Method and Description |
|---|---|
void |
CloseListener.didClose(Closeable closeable)
Notifies this listener that the given
Closeable object has been closed. |
void |
CloseListener.willClose(Closeable closeable)
Notifies this listener that the given
Closeable object is in the process of closing. |
| Constructor and Description |
|---|
CloseableImpl(Closeable facade) |