Package io.quarkus.arc.processor
Class InterceptorInfo
- java.lang.Object
-
- io.quarkus.arc.processor.BeanInfo
-
- io.quarkus.arc.processor.InterceptorInfo
-
- All Implemented Interfaces:
InjectionTargetInfo,Comparable<InterceptorInfo>
public class InterceptorInfo extends BeanInfo implements Comparable<InterceptorInfo>
- Author:
- Martin Kouba
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.quarkus.arc.processor.InjectionTargetInfo
InjectionTargetInfo.TargetKind
-
-
Field Summary
-
Fields inherited from class io.quarkus.arc.processor.BeanInfo
qualifiers, scope, target, types
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(InterceptorInfo other)org.jboss.jandex.MethodInfogetAroundConstruct()Deprecated, for removal: This API element is subject to removal in a future version.UsegetAroundConstructs()insteadList<org.jboss.jandex.MethodInfo>getAroundConstructs()Returns all methods annotated withAroundConstructfound in the hierarchy of the interceptor class.org.jboss.jandex.MethodInfogetAroundInvoke()Deprecated, for removal: This API element is subject to removal in a future version.UsegetAroundInvokes()insteadList<org.jboss.jandex.MethodInfo>getAroundInvokes()Returns all methods annotated withAroundInvokefound in the hierarchy of the interceptor class.Set<org.jboss.jandex.AnnotationInstance>getBindings()org.jboss.jandex.MethodInfogetPostConstruct()Deprecated, for removal: This API element is subject to removal in a future version.UsegetPostConstructs()insteadList<org.jboss.jandex.MethodInfo>getPostConstructs()Returns all methods annotated withPostConstructfound in the hierarchy of the interceptor class.org.jboss.jandex.MethodInfogetPreDestroy()Deprecated, for removal: This API element is subject to removal in a future version.UsegetPreDestroys()insteadList<org.jboss.jandex.MethodInfo>getPreDestroys()Returns all methods annotated withPreDestroyfound in the hierarchy of the interceptor class.booleanintercepts(jakarta.enterprise.inject.spi.InterceptionType interceptionType)booleanisInterceptor()StringtoString()-
Methods inherited from class io.quarkus.arc.processor.BeanInfo
asBean, equals, getAllInjectionPoints, getAlternativePriority, getBeanClass, getBoundDecorators, getBoundInterceptors, getClientProxyPackageName, getDeclaringBean, getDisposer, getIdentifier, getImplClazz, getInterceptedMethodsBindings, getName, getPriority, getProviderType, getQualifier, getQualifiers, getScope, getStereotypes, getTarget, getTargetPackageName, getType, getTypes, hasAroundInvokeInterceptors, hasAroundInvokeInterceptorWithBinding, hasDefaultQualifiers, hasDestroyLogic, hashCode, hasInjectionPoint, hasLifecycleInterceptors, hasType, isAlternative, isAssignableTo, isClassBean, isDecorator, isDefaultBean, isForceApplicationClass, isProducer, isProducerField, isProducerMethod, isRemovable, isStaticProducer, isSynthetic, kind
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.quarkus.arc.processor.InjectionTargetInfo
asDisposer, asObserver
-
-
-
-
Method Detail
-
getBindings
public Set<org.jboss.jandex.AnnotationInstance> getBindings()
-
getAroundInvokes
public List<org.jboss.jandex.MethodInfo> getAroundInvokes()
Returns all methods annotated withAroundInvokefound 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 withAroundConstructfound 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 withPostConstructfound 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 withPreDestroyfound 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.UsegetAroundInvokes()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.UsegetAroundConstructs()instead
-
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.UsegetPostConstructs()instead
-
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.UsegetPreDestroys()instead
-
intercepts
public boolean intercepts(jakarta.enterprise.inject.spi.InterceptionType interceptionType)
-
isInterceptor
public boolean isInterceptor()
- Overrides:
isInterceptorin classBeanInfo
-
compareTo
public int compareTo(InterceptorInfo other)
- Specified by:
compareToin interfaceComparable<InterceptorInfo>
-
-