Package org.eclipse.jetty.annotations
Class PostConstructAnnotationHandler
- java.lang.Object
-
- org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
-
- org.eclipse.jetty.annotations.PostConstructAnnotationHandler
-
- All Implemented Interfaces:
AnnotationIntrospector.IntrospectableAnnotationHandler
public class PostConstructAnnotationHandler extends AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
_context, _introspectAncestors
-
-
Constructor Summary
Constructors Constructor Description PostConstructAnnotationHandler(org.eclipse.jetty.webapp.WebAppContext wac)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoHandle(java.lang.Class clazz)booleansupportsPostConstruct(java.lang.Class c)Check if the given class is permitted to have PostConstruct annotation.-
Methods inherited from class org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
getContext, handle
-
-
-
-
Method Detail
-
doHandle
public void doHandle(java.lang.Class clazz)
- Specified by:
doHandlein classAnnotationIntrospector.AbstractIntrospectableAnnotationHandler
-
supportsPostConstruct
public boolean supportsPostConstruct(java.lang.Class c)
Check if the given class is permitted to have PostConstruct annotation.- Parameters:
c- the class- Returns:
- true if the spec permits the class to have PostConstruct, false otherwise
-
-