public interface CloseableSupport extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
<T extends AutoCloseable> |
closeWithModule(T closeable)
Applied directly to closeable objects will register
the object to be closed together with the module.
|
close
<T extends AutoCloseable> T closeWithModule(T closeable)
Copyright © 2016. All rights reserved.