public class AnnotatedTypeLoader extends Object
BackedAnnotatedType
and creating SlimAnnotatedTypeContext
.Constructor and Description |
---|
AnnotatedTypeLoader(BeanManagerImpl manager,
ClassTransformer transformer,
ContainerLifecycleEvents containerLifecycleEvents) |
Modifier and Type | Method and Description |
---|---|
protected <T> SlimAnnotatedTypeContext<T> |
createContext(SlimAnnotatedType<T> type) |
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. |
protected <T> Class<T> |
loadClass(String className) |
public AnnotatedTypeLoader(BeanManagerImpl manager, ClassTransformer transformer, ContainerLifecycleEvents containerLifecycleEvents)
public <T> SlimAnnotatedTypeContext<T> loadAnnotatedType(String className, String bdaId)
SlimAnnotatedTypeContext
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).className
- 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)
protected <T> SlimAnnotatedTypeContext<T> createContext(SlimAnnotatedType<T> type)
Copyright © 2016. All rights reserved.