Package org.eclipse.jetty.annotations
Class AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
java.lang.Object
org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
- All Implemented Interfaces:
AnnotationIntrospector.IntrospectableAnnotationHandler
- Direct Known Subclasses:
DeclareRolesAnnotationHandler,MultiPartConfigAnnotationHandler,PostConstructAnnotationHandler,PreDestroyAnnotationHandler,ResourceAnnotationHandler,ResourcesAnnotationHandler,RunAsAnnotationHandler,ServletSecurityAnnotationHandler
- Enclosing class:
- AnnotationIntrospector
public abstract static class AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
extends Object
implements AnnotationIntrospector.IntrospectableAnnotationHandler
AbstractIntrospectableAnnotationHandler
Base class for handlers that introspect a class to find a particular annotation.
A handler can optionally introspect the parent hierarchy of a class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.jetty.webapp.WebAppContextprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionAbstractIntrospectableAnnotationHandler(boolean introspectAncestors, org.eclipse.jetty.webapp.WebAppContext context) -
Method Summary
Modifier and TypeMethodDescriptionabstract voidorg.eclipse.jetty.webapp.WebAppContextvoid
-
Field Details
-
_introspectAncestors
protected boolean _introspectAncestors -
_context
protected org.eclipse.jetty.webapp.WebAppContext _context
-
-
Constructor Details
-
AbstractIntrospectableAnnotationHandler
public AbstractIntrospectableAnnotationHandler(boolean introspectAncestors, org.eclipse.jetty.webapp.WebAppContext context)
-
-
Method Details
-
doHandle
-
handle
- Specified by:
handlein interfaceAnnotationIntrospector.IntrospectableAnnotationHandler
-
getContext
public org.eclipse.jetty.webapp.WebAppContext getContext()
-