Class TypeClosureLazyValueHolder
- java.lang.Object
-
- org.jboss.weld.util.LazyValueHolder<Set<Type>>
-
- org.jboss.weld.annotated.enhanced.TypeClosureLazyValueHolder
-
- All Implemented Interfaces:
ValueHolder<Set<Type>>
public class TypeClosureLazyValueHolder extends LazyValueHolder<Set<Type>>
LazyValueHolder
that calculates a type closure. In many cases this will not be needed, so computing it on demand saves memory and startup time.- Author:
- Stuart Douglas
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.weld.util.LazyValueHolder
LazyValueHolder.Serializable<T>
-
-
Constructor Summary
Constructors Constructor Description TypeClosureLazyValueHolder(Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<Type>
computeValue()
-
Methods inherited from class org.jboss.weld.util.LazyValueHolder
clear, forSupplier, get, getIfPresent, isAvailable
-
-
-
-
Constructor Detail
-
TypeClosureLazyValueHolder
public TypeClosureLazyValueHolder(Type type)
-
-
Method Detail
-
computeValue
protected Set<Type> computeValue()
- Specified by:
computeValue
in classLazyValueHolder<Set<Type>>
-
-