Package | Description |
---|---|
oracle.javatools.patterns |
Modifier and Type | Method and Description |
---|---|
void |
CloseableWithNotification.addCloseListener(CloseListener listener)
Adds the given listener to this
Closeable object, such that it will be notified when this object either is about to be, or just has been, closed. |
void |
CloseableImpl.addCloseListener(CloseListener listener) |
void |
CloseableWithNotification.removeCloseListener(CloseListener listener)
Removes the given listener from this
Closeable object, such that it will no longer be notified when this object either is about to be, or just has been, closed. |
void |
CloseableImpl.removeCloseListener(CloseListener listener) |