Class AnnotationBasedLifeCycleCallbacksFactory

    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationBasedLifeCycleCallbacksFactory​(java.lang.Class<? extends java.lang.annotation.Annotation> postConstruct, java.lang.Class<? extends java.lang.annotation.Annotation> preDestroy)
      Constructs a new instance.
    • Constructor Detail

      • AnnotationBasedLifeCycleCallbacksFactory

        public AnnotationBasedLifeCycleCallbacksFactory​(java.lang.Class<? extends java.lang.annotation.Annotation> postConstruct,
                                                        java.lang.Class<? extends java.lang.annotation.Annotation> preDestroy)
        Constructs a new instance.
        Parameters:
        postConstruct - a marker annotation Class for post construct methods, cannot be null
        preDestroy - a marker annotation Class for pre-destroy methods, cannot be null