public abstract class LazyProvider<T> extends Object implements javax.inject.Provider<T>
Encapsulates the use of the double-checked lock idiom for lazily initializing
an instance in a thread-safe way. Subclasses override the init() method to
provide the lazily initialized instance.
| Constructor and Description |
|---|
LazyProvider() |
Copyright © 2014. All rights reserved.