A {@code ResourceAccessScope} acts as a provider of {@link ResourceAccess} returning an instance that has been bound to the current {@link Thread}, or a default "unspecific" ResourceAccess if the ResourceAccessScope has not been entered.
This works similar to how a Guice Scope works, but this implementation is NOT a guice scope.
When entering, care must be taken to exit the scope in a finally-clause or the result may be memory leaks
|
|