public class SimpleAnnotationDiscovery extends Object implements org.jboss.weld.resources.spi.AnnotationDiscovery
AnnotationDiscovery
which uses Java Reflection. This is the fallback option if an annotation
index is not available.Constructor and Description |
---|
SimpleAnnotationDiscovery(ReflectionCache cache) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
boolean |
containsAnnotation(Class<?> javaClass,
Class<? extends Annotation> requiredAnnotation) |
public SimpleAnnotationDiscovery(ReflectionCache cache)
public boolean containsAnnotation(Class<?> javaClass, Class<? extends Annotation> requiredAnnotation)
containsAnnotation
in interface org.jboss.weld.resources.spi.AnnotationDiscovery
public void cleanup()
cleanup
in interface org.jboss.weld.bootstrap.api.Service
Copyright © 2013 Seam Framework. All Rights Reserved.