Create an AutoClose for a given closeable resource.
the closeable resource
the AutoClose instance
Create an AutoCloseMany instance for managing multiple closeable resources.
the AutoCloseMany instance
Create an AutoCloseOne instance for managing a single closeable resource.
the AutoCloseOne instance
Interface for a factory that creates AutoClose instances.