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 Modifier and Type Field Description protected WebAppContext
_context
-
Constructor Summary
Constructors Constructor Description PostConstructAnnotationHandler(WebAppContext wac)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doHandle(java.lang.Class clazz)
boolean
supportsPostConstruct(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
handle
-
-
-
-
Field Detail
-
_context
protected WebAppContext _context
-
-
Constructor Detail
-
PostConstructAnnotationHandler
public PostConstructAnnotationHandler(WebAppContext wac)
-
-
Method Detail
-
doHandle
public void doHandle(java.lang.Class clazz)
- Specified by:
doHandle
in 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
-
-