Class InterceptorInfo

    • Method Detail

      • getBindings

        public Set<org.jboss.jandex.AnnotationInstance> getBindings()
      • getAroundInvokes

        public List<org.jboss.jandex.MethodInfo> getAroundInvokes()
        Returns all methods annotated with AroundInvoke found in the hierarchy of the interceptor class.

        The returned list is sorted. The method declared on the most general superclass is first. The method declared on the interceptor class is last.

        Returns:
        the interceptor methods
      • getAroundConstructs

        public List<org.jboss.jandex.MethodInfo> getAroundConstructs()
        Returns all methods annotated with AroundConstruct found in the hierarchy of the interceptor class.

        The returned list is sorted. The method declared on the most general superclass is first. The method declared on the interceptor class is last.

        Returns:
        the interceptor methods
      • getPostConstructs

        public List<org.jboss.jandex.MethodInfo> getPostConstructs()
        Returns all methods annotated with PostConstruct found in the hierarchy of the interceptor class.

        The returned list is sorted. The method declared on the most general superclass is first. The method declared on the interceptor class is last.

        Returns:
        the interceptor methods
      • getPreDestroys

        public List<org.jboss.jandex.MethodInfo> getPreDestroys()
        Returns all methods annotated with PreDestroy found in the hierarchy of the interceptor class.

        The returned list is sorted. The method declared on the most general superclass is first. The method declared on the interceptor class is last.

        Returns:
        the interceptor methods
      • getAroundInvoke

        @Deprecated(since="3.1",
                    forRemoval=true)
        public org.jboss.jandex.MethodInfo getAroundInvoke()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use getAroundInvokes() instead
      • getAroundConstruct

        @Deprecated(since="3.1",
                    forRemoval=true)
        public org.jboss.jandex.MethodInfo getAroundConstruct()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getPostConstruct

        @Deprecated(since="3.1",
                    forRemoval=true)
        public org.jboss.jandex.MethodInfo getPostConstruct()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getPreDestroy

        @Deprecated(since="3.1",
                    forRemoval=true)
        public org.jboss.jandex.MethodInfo getPreDestroy()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use getPreDestroys() instead
      • intercepts

        public boolean intercepts​(jakarta.enterprise.inject.spi.InterceptionType interceptionType)