Class ContextManager.Binder

java.lang.Object
it.tidalwave.util.ContextManager.Binder
All Implemented Interfaces:
AutoCloseable
Enclosing interface:
ContextManager

public static class ContextManager.Binder extends Object implements AutoCloseable
A binder of local contexts, created by ContextManager.binder(Object...) and meant to be used in a try-with-resources: it binds the contexts to the current thread when it's created and unbinds them when it's closed.
Since:
3.2-ALPHA-12
  • Method Details