Package org.jboss.as.weld.spi
Interface ComponentInterceptorSupport
public interface ComponentInterceptorSupport
NOTE: There must be exactly one implementation available if
ComponentIntegrator.DefaultInterceptorIntegrationAction is performed during component integration.
This implementation must be able to handle all integrated component types.
- Author:
- Martin Kouba
-
Method Summary
Modifier and TypeMethodDescriptiondelegateInterception(jakarta.interceptor.InvocationContext invocationContext, jakarta.enterprise.inject.spi.InterceptionType interceptionType, List<jakarta.enterprise.inject.spi.Interceptor<?>> currentInterceptors, List<Object> currentInterceptorInstances) Delegate the invocation processing.org.jboss.weld.ejb.spi.InterceptorBindingsgetInterceptorBindings(String componentName, org.jboss.weld.manager.api.WeldManager manager) getInterceptorInstances(ComponentInstance componentInstance) voidsetInterceptorInstances(ComponentInstance componentInstance, InterceptorInstances interceptorInstances) Set the interceptor instances to the given component.
-
Method Details
-
getInterceptorInstances
- Parameters:
componentInstance-- Returns:
- the interceptor instance for the given component
-
setInterceptorInstances
void setInterceptorInstances(ComponentInstance componentInstance, InterceptorInstances interceptorInstances) Set the interceptor instances to the given component.- Parameters:
componentInstance-interceptorInstances-
-
delegateInterception
Object delegateInterception(jakarta.interceptor.InvocationContext invocationContext, jakarta.enterprise.inject.spi.InterceptionType interceptionType, List<jakarta.enterprise.inject.spi.Interceptor<?>> currentInterceptors, List<Object> currentInterceptorInstances) throws Exception Delegate the invocation processing.- Returns:
- the result of subsequent interceptor method processing
- Throws:
Exception
-
getInterceptorBindings
org.jboss.weld.ejb.spi.InterceptorBindings getInterceptorBindings(String componentName, org.jboss.weld.manager.api.WeldManager manager) - Parameters:
componentName-- Returns:
- the interceptor bindings
-