public class DefaultReflectionCache extends AbstractBootstrapService implements ReflectionCache
| Constructor and Description |
|---|
DefaultReflectionCache(TypeStore store) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupAfterBoot()
Called by Weld once it finishes initialization and before it starts serving requests.
|
java.lang.annotation.Annotation[] |
getAnnotations(java.lang.reflect.AnnotatedElement element) |
java.util.Set<java.lang.annotation.Annotation> |
getAnnotationSet(java.lang.reflect.AnnotatedElement element) |
java.util.Set<java.lang.annotation.Annotation> |
getBackedAnnotatedTypeAnnotationSet(java.lang.Class<?> javaClass)
Returns the set of annotations for a
BackedAnnotatedType. |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations(java.lang.reflect.AnnotatedElement element) |
java.util.Set<java.lang.annotation.Annotation> |
getDeclaredAnnotationSet(java.lang.reflect.AnnotatedElement element) |
java.lang.annotation.Annotation[] |
getParameterAnnotations(java.lang.reflect.Constructor<?> constructor,
int parameterPosition) |
java.lang.annotation.Annotation[] |
getParameterAnnotations(java.lang.reflect.Method method,
int parameterPosition) |
java.util.Set<java.lang.annotation.Annotation> |
getParameterAnnotationSet(BackedAnnotatedParameter<?> parameter) |
protected java.lang.annotation.Annotation[] |
internalGetAnnotations(java.lang.reflect.AnnotatedElement element) |
protected java.lang.annotation.Annotation[] |
internalGetDeclaredAnnotations(java.lang.reflect.AnnotatedElement element) |
cleanuppublic DefaultReflectionCache(TypeStore store)
protected java.lang.annotation.Annotation[] internalGetAnnotations(java.lang.reflect.AnnotatedElement element)
protected java.lang.annotation.Annotation[] internalGetDeclaredAnnotations(java.lang.reflect.AnnotatedElement element)
public java.lang.annotation.Annotation[] getAnnotations(java.lang.reflect.AnnotatedElement element)
getAnnotations in interface ReflectionCachepublic java.lang.annotation.Annotation[] getDeclaredAnnotations(java.lang.reflect.AnnotatedElement element)
getDeclaredAnnotations in interface ReflectionCachepublic java.lang.annotation.Annotation[] getParameterAnnotations(java.lang.reflect.Constructor<?> constructor,
int parameterPosition)
getParameterAnnotations in interface ReflectionCachepublic java.lang.annotation.Annotation[] getParameterAnnotations(java.lang.reflect.Method method,
int parameterPosition)
getParameterAnnotations in interface ReflectionCachepublic void cleanupAfterBoot()
BootstrapServicecleanupAfterBoot in interface BootstrapServicepublic java.util.Set<java.lang.annotation.Annotation> getAnnotationSet(java.lang.reflect.AnnotatedElement element)
getAnnotationSet in interface ReflectionCachepublic java.util.Set<java.lang.annotation.Annotation> getDeclaredAnnotationSet(java.lang.reflect.AnnotatedElement element)
getDeclaredAnnotationSet in interface ReflectionCachepublic java.util.Set<java.lang.annotation.Annotation> getParameterAnnotationSet(BackedAnnotatedParameter<?> parameter)
getParameterAnnotationSet in interface ReflectionCachepublic java.util.Set<java.lang.annotation.Annotation> getBackedAnnotatedTypeAnnotationSet(java.lang.Class<?> javaClass)
ReflectionCacheBackedAnnotatedType. This are all annotations declared directly on the
BackedAnnotatedType.getJavaClass() and all Inherited annotations. In addition, scope annotation
inheritance rules (as defined in section 4.1) are applied.getBackedAnnotatedTypeAnnotationSet in interface ReflectionCacheCopyright © 2015. All Rights Reserved.