Package org.apache.webbeans.intercept
Class InterceptorResolutionService
- java.lang.Object
-
- org.apache.webbeans.intercept.InterceptorResolutionService
-
public class InterceptorResolutionService extends Object
Class to calculate interceptor resolution information. It also handles the proxy caching and applying.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInterceptorResolutionService.BeanInterceptorInfostatic information about interceptors and decorators for a single bean.static classInterceptorResolutionService.BusinessMethodInterceptorInfoWe track per method which Interceptors to invokestatic classInterceptorResolutionService.LifecycleMethodInfo
-
Constructor Summary
Constructors Constructor Description InterceptorResolutionService(WebBeansContext webBeansContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> InterceptorResolutionService.BeanInterceptorInfocalculateInterceptorInfo(Set<Type> beanTypes, Set<Annotation> qualifiers, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, boolean failOnFinal)<T> Map<jakarta.enterprise.inject.spi.Interceptor<?>,Object>createInterceptorInstances(InterceptorResolutionService.BeanInterceptorInfo interceptorInfo, CreationalContextImpl<T> creationalContextImpl)Map<Method,List<jakarta.enterprise.inject.spi.Interceptor<?>>>createMethodInterceptors(InterceptorResolutionService.BeanInterceptorInfo interceptorInfo)<T> TcreateProxiedInstance(T instance, CreationalContextImpl<T> creationalContextImpl, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext, InterceptorResolutionService.BeanInterceptorInfo interceptorInfo, Class<? extends T> proxyClass, Map<Method,List<jakarta.enterprise.inject.spi.Interceptor<?>>> methodInterceptors, String passivationId, Map<jakarta.enterprise.inject.spi.Interceptor<?>,Object> interceptorInstances, Function<CreationalContextImpl<?>,Boolean> isDelegateInjection, BiFunction<T,List<jakarta.enterprise.inject.spi.Decorator<?>>,List<jakarta.enterprise.inject.spi.Decorator<?>>> filterDecorators)
-
-
-
Constructor Detail
-
InterceptorResolutionService
public InterceptorResolutionService(WebBeansContext webBeansContext)
-
-
Method Detail
-
calculateInterceptorInfo
public <T> InterceptorResolutionService.BeanInterceptorInfo calculateInterceptorInfo(Set<Type> beanTypes, Set<Annotation> qualifiers, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, boolean failOnFinal)
-
createMethodInterceptors
public Map<Method,List<jakarta.enterprise.inject.spi.Interceptor<?>>> createMethodInterceptors(InterceptorResolutionService.BeanInterceptorInfo interceptorInfo)
-
createInterceptorInstances
public <T> Map<jakarta.enterprise.inject.spi.Interceptor<?>,Object> createInterceptorInstances(InterceptorResolutionService.BeanInterceptorInfo interceptorInfo, CreationalContextImpl<T> creationalContextImpl)
-
createProxiedInstance
public <T> T createProxiedInstance(T instance, CreationalContextImpl<T> creationalContextImpl, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext, InterceptorResolutionService.BeanInterceptorInfo interceptorInfo, Class<? extends T> proxyClass, Map<Method,List<jakarta.enterprise.inject.spi.Interceptor<?>>> methodInterceptors, String passivationId, Map<jakarta.enterprise.inject.spi.Interceptor<?>,Object> interceptorInstances, Function<CreationalContextImpl<?>,Boolean> isDelegateInjection, BiFunction<T,List<jakarta.enterprise.inject.spi.Decorator<?>>,List<jakarta.enterprise.inject.spi.Decorator<?>>> filterDecorators)
-
-