Class AnimalInterceptor


  • @Interceptor
    @Priority(1)
    public class AnimalInterceptor
    extends Object
    • Constructor Detail

      • AnimalInterceptor

        public AnimalInterceptor()
    • Method Detail

      • postConstruct

        @PostConstruct
        public void postConstruct​(jakarta.interceptor.InvocationContext ctx)
      • preDestroy

        @PreDestroy
        public void preDestroy​(jakarta.interceptor.InvocationContext ctx)
      • isPostConstructInterceptorCalled

        public static boolean isPostConstructInterceptorCalled​(String animalType)
      • isPreDestroyInterceptorCalled

        public static boolean isPreDestroyInterceptorCalled​(String animalType)