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
-
-
Constructor Summary
Constructors Constructor Description PreDestroyAnnotationHandler(WebAppContext wac)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doHandle(java.lang.Class clazz)
boolean
supportsPreDestroy(java.lang.Class c)
Check if the spec permits the given class to use the PreDestroy annotation.-
Methods inherited from class org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
handle
-
-
-
-
Constructor Detail
-
PreDestroyAnnotationHandler
public PreDestroyAnnotationHandler(WebAppContext wac)
-
-
Method Detail
-
doHandle
public void doHandle(java.lang.Class clazz)
- Specified by:
doHandle
in classAnnotationIntrospector.AbstractIntrospectableAnnotationHandler
-
supportsPreDestroy
public boolean supportsPreDestroy(java.lang.Class c)
Check if the spec permits the given class to use the PreDestroy annotation.- Parameters:
c
- the class- Returns:
- true if permitted, false otherwise
-
-