Class PreDestroyAnnotationHandler
java.lang.Object
org.eclipse.jetty.ee10.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
org.eclipse.jetty.ee10.annotations.PreDestroyAnnotationHandler
- All Implemented Interfaces:
AnnotationIntrospector.IntrospectableAnnotationHandler
public class PreDestroyAnnotationHandler
extends AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
-
Field Summary
Fields inherited from class org.eclipse.jetty.ee10.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.ee10.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
-