T - the type of the class@Deprecated public class ClassProvider<T> extends Object implements IProvider<Class<T>>
provider which holds a reference to a class in a
WeakReference so that it can be collected by the GC when needed| Constructor and Description |
|---|
ClassProvider(Class<T> clazz)
Deprecated.
Construct.
|
public static <T> ClassProvider<T> of(Class<T> clazz)
T - type of valueclazz - the class to provideCopyright © 2006–2015 Apache Software Foundation. All rights reserved.