public class FastAnnotatedTypeLoader extends AnnotatedTypeLoader
AnnotatedTypeLoader. This implementation uses ClassFileServices to avoid loading application classes that are not
needed for Weld. In addition, this implementation feeds SlimAnnotatedTypeContext with ClassFileInfo and resolved ProcessAnnotatedType
observer methods.| Constructor and Description |
|---|
FastAnnotatedTypeLoader(BeanManagerImpl manager,
ClassTransformer transformer,
ClassFileServices classFileServices,
ContainerLifecycleEvents events,
FastProcessAnnotatedTypeResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> SlimAnnotatedType<T> |
loadAnnotatedType(Class<T> clazz,
String bdaId) |
<T> SlimAnnotatedTypeContext<T> |
loadAnnotatedType(String className,
String bdaId)
Creates a new
SlimAnnotatedTypeContext instance for a class with the specified class name. |
createContext, loadClasspublic FastAnnotatedTypeLoader(BeanManagerImpl manager, ClassTransformer transformer, ClassFileServices classFileServices, ContainerLifecycleEvents events, FastProcessAnnotatedTypeResolver resolver)
public <T> SlimAnnotatedTypeContext<T> loadAnnotatedType(String className, String bdaId)
AnnotatedTypeLoaderSlimAnnotatedTypeContext instance for a class with the specified class name. This method may return null if there is a problem
loading the class or this class is not needed for further processing (e.g. an annotation or a vetoed class).loadAnnotatedType in class AnnotatedTypeLoaderclassName - the specified class namebdaId - the identifier of the bean archive this class resides inSlimAnnotatedTypeContext for a specified class or nullprotected <T> SlimAnnotatedType<T> loadAnnotatedType(Class<T> clazz, String bdaId)
loadAnnotatedType in class AnnotatedTypeLoaderCopyright © 2015. All Rights Reserved.