Package org.eclipse.jetty.annotations
Class PreDestroyAnnotationHandler
java.lang.Object
org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
org.eclipse.jetty.annotations.PreDestroyAnnotationHandler
- All Implemented Interfaces:
AnnotationIntrospector.IntrospectableAnnotationHandler
public class PreDestroyAnnotationHandler
extends AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
-
Field Summary
Fields inherited from class org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
_context, _introspectAncestors
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
Check if the spec permits the given class to use the PreDestroy annotation.Methods inherited from class org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
getContext, handle
-
Constructor Details
-
PreDestroyAnnotationHandler
-
-
Method Details
-
doHandle
- Specified by:
doHandle
in classAnnotationIntrospector.AbstractIntrospectableAnnotationHandler
-
supportsPreDestroy
Check if the spec permits the given class to use the PreDestroy annotation.- Parameters:
c
- the class- Returns:
- true if permitted, false otherwise
-