public class ClassTransformer extends java.lang.Object implements BootstrapService
| Constructor and Description |
|---|
ClassTransformer(TypeStore typeStore,
SharedObjectCache cache,
ReflectionCache reflectionCache,
java.lang.String contextId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSyntheticAnnotation(AnnotatedType<? extends java.lang.annotation.Annotation> annotation,
java.lang.String bdaId) |
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
void |
cleanupAfterBoot()
Called by Weld once it finishes initialization and before it starts serving requests.
|
void |
clearAnnotationData(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
<T> BackedAnnotatedType<T> |
getBackedAnnotatedType(java.lang.Class<T> rawType,
java.lang.String bdaId) |
<T> BackedAnnotatedType<T> |
getBackedAnnotatedType(java.lang.Class<T> rawType,
java.lang.reflect.Type baseType,
java.lang.String bdaId) |
<T> EnhancedAnnotatedType<T> |
getEnhancedAnnotatedType(AnnotatedType<T> annotatedType,
java.lang.String bdaId) |
<T> EnhancedAnnotatedType<T> |
getEnhancedAnnotatedType(java.lang.Class<T> rawType,
java.lang.String bdaId) |
<T> EnhancedAnnotatedType<T> |
getEnhancedAnnotatedType(java.lang.Class<T> rawType,
java.lang.reflect.Type baseType,
java.lang.String bdaId) |
<T> EnhancedAnnotatedType<T> |
getEnhancedAnnotatedType(SlimAnnotatedType<T> annotatedType) |
<T extends java.lang.annotation.Annotation> |
getEnhancedAnnotation(java.lang.Class<T> clazz) |
ReflectionCache |
getReflectionCache() |
SharedObjectCache |
getSharedObjectCache() |
<T> SlimAnnotatedType<T> |
getSlimAnnotatedTypeById(AnnotatedTypeIdentifier id) |
UnbackedAnnotatedType<? extends java.lang.annotation.Annotation> |
getSyntheticAnnotationAnnotatedType(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
TypeStore |
getTypeStore() |
<T> UnbackedAnnotatedType<T> |
getUnbackedAnnotatedType(AnnotatedType<T> source,
java.lang.String bdaId,
java.lang.String suffix) |
<T> UnbackedAnnotatedType<T> |
getUnbackedAnnotatedType(SlimAnnotatedType<T> originalType,
AnnotatedType<T> source) |
static ClassTransformer |
instance(BeanManagerImpl manager) |
public ClassTransformer(TypeStore typeStore, SharedObjectCache cache, ReflectionCache reflectionCache, java.lang.String contextId)
public static ClassTransformer instance(BeanManagerImpl manager)
public <T> BackedAnnotatedType<T> getBackedAnnotatedType(java.lang.Class<T> rawType, java.lang.reflect.Type baseType, java.lang.String bdaId)
public <T> BackedAnnotatedType<T> getBackedAnnotatedType(java.lang.Class<T> rawType, java.lang.String bdaId)
public <T> SlimAnnotatedType<T> getSlimAnnotatedTypeById(AnnotatedTypeIdentifier id)
public <T> UnbackedAnnotatedType<T> getUnbackedAnnotatedType(AnnotatedType<T> source, java.lang.String bdaId, java.lang.String suffix)
public <T> UnbackedAnnotatedType<T> getUnbackedAnnotatedType(SlimAnnotatedType<T> originalType, AnnotatedType<T> source)
public UnbackedAnnotatedType<? extends java.lang.annotation.Annotation> getSyntheticAnnotationAnnotatedType(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
public <T> EnhancedAnnotatedType<T> getEnhancedAnnotatedType(java.lang.Class<T> rawType, java.lang.String bdaId)
public <T> EnhancedAnnotatedType<T> getEnhancedAnnotatedType(java.lang.Class<T> rawType, java.lang.reflect.Type baseType, java.lang.String bdaId)
public <T> EnhancedAnnotatedType<T> getEnhancedAnnotatedType(AnnotatedType<T> annotatedType, java.lang.String bdaId)
public <T> EnhancedAnnotatedType<T> getEnhancedAnnotatedType(SlimAnnotatedType<T> annotatedType)
public <T extends java.lang.annotation.Annotation> EnhancedAnnotation<T> getEnhancedAnnotation(java.lang.Class<T> clazz)
public void clearAnnotationData(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
public TypeStore getTypeStore()
public SharedObjectCache getSharedObjectCache()
public ReflectionCache getReflectionCache()
public void addSyntheticAnnotation(AnnotatedType<? extends java.lang.annotation.Annotation> annotation, java.lang.String bdaId)
annotation - public void cleanupAfterBoot()
BootstrapServicecleanupAfterBoot in interface BootstrapServiceCopyright © 2015. All Rights Reserved.