Interface ExtensionContext.Store.CloseableResource
- Enclosing interface:
ExtensionContext.Store
@Deprecated
@API(status=DEPRECATED,
since="5.13")
public static interface ExtensionContext.Store.CloseableResource
Deprecated.
Classes implementing this interface indicate that they want to
close()
some underlying resource or resources when the enclosing Store
is closed.
Note that the CloseableResource
API is only honored for
objects stored within an extension context Store
.
The resources stored in a Store
are closed in the
inverse order they were added in.
- Since:
- 5.1
-
Method Summary
-
Method Details
-
close
-
AutoCloseable
directly.