Package org.eclipse.jetty.annotations
Class AnnotationIntrospector
- java.lang.Object
-
- org.eclipse.jetty.annotations.AnnotationIntrospector
-
public class AnnotationIntrospector extends java.lang.Object
AnnotationIntrospector Introspects a class to find various types of annotations as defined by the servlet specification.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
AbstractIntrospectableAnnotationHandler Base class for handlers that introspect a class to find a particular annotation.static interface
AnnotationIntrospector.IntrospectableAnnotationHandler
IntrospectableAnnotationHandler Interface for all handlers that wish to introspect a class to find a particular annotation
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<AnnotationIntrospector.IntrospectableAnnotationHandler>
_handlers
private java.util.Set<java.lang.Class<?>>
_introspectedClasses
-
Constructor Summary
Constructors Constructor Description AnnotationIntrospector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
introspect(java.lang.Class<?> clazz)
void
registerHandler(AnnotationIntrospector.IntrospectableAnnotationHandler handler)
-
-
-
Field Detail
-
_introspectedClasses
private final java.util.Set<java.lang.Class<?>> _introspectedClasses
-
_handlers
private final java.util.List<AnnotationIntrospector.IntrospectableAnnotationHandler> _handlers
-
-
Method Detail
-
registerHandler
public void registerHandler(AnnotationIntrospector.IntrospectableAnnotationHandler handler)
-
introspect
public void introspect(java.lang.Class<?> clazz)
-
-