public interface ThreadLocalScopeSupport
Modifier and Type | Method and Description |
---|---|
Scope |
getThreadLocalScope()
Returns a scope that will instantiate only once for each new
thread.
|
default <T> Supplier<T> |
threadLocal(Factory<T> supplier)
Convenience method to produce thread local supplier easily.
|
Scope getThreadLocalScope()
Copyright © 2016. All rights reserved.