public class InstanceProvider<T> extends Object implements Provider<T>
Supplier
InstanceProvider(T instance)
T
call()
void
set(T instance)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asLoader, asLoader, asSingle, asThread, asThread, get, of, of, of, toLoader, toLoader, toSingle, toSingle, toThread, toThread, wrap
public InstanceProvider(T instance)
public T call() throws Exception
Provider
call
Callable<T>
Provider<T>
Exception
public void set(T instance)
Copyright © 2022. All rights reserved.