Class PostConstructAnnotationHandler

All Implemented Interfaces:
AnnotationIntrospector.IntrospectableAnnotationHandler

public class PostConstructAnnotationHandler extends AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
  • Constructor Details

    • PostConstructAnnotationHandler

      public PostConstructAnnotationHandler(WebAppContext wac)
  • Method Details

    • doHandle

      public void doHandle(Class<?> clazz)
      Specified by:
      doHandle in class AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
    • supportsPostConstruct

      public boolean supportsPostConstruct(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