org.jboss.weld.introspector
Class TypeClosureLazyValueHolder

java.lang.Object
  extended by org.jboss.weld.util.LazyValueHolder<Set<Type>>
      extended by org.jboss.weld.introspector.TypeClosureLazyValueHolder

public class TypeClosureLazyValueHolder
extends LazyValueHolder<Set<Type>>

LazyValueHolder that calculates a type closue. In many cases this will not be needed, so computing it on demand saves memory and startup time.

Author:
Stuart Douglas

Constructor Summary
TypeClosureLazyValueHolder(Set<Type> types)
           
TypeClosureLazyValueHolder(Type type)
           
 
Method Summary
protected  Set<Type> computeValue()
           
 
Methods inherited from class org.jboss.weld.util.LazyValueHolder
clear, get
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeClosureLazyValueHolder

public TypeClosureLazyValueHolder(Type type)

TypeClosureLazyValueHolder

public TypeClosureLazyValueHolder(Set<Type> types)
Method Detail

computeValue

protected Set<Type> computeValue()
Specified by:
computeValue in class LazyValueHolder<Set<Type>>


Copyright © 2013 Seam Framework. All Rights Reserved.