Package org.jboss.as.weld.spi
Interface ComponentInterceptorSupport
-
public interface ComponentInterceptorSupportNOTE: There must be exactly one implementation available ifComponentIntegrator.DefaultInterceptorIntegrationActionis performed during component integration.This implementation must be able to handle all integrated component types.
- Author:
- Martin Kouba
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectdelegateInterception(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)InterceptorInstancesgetInterceptorInstances(ComponentInstance componentInstance)voidsetInterceptorInstances(ComponentInstance componentInstance, InterceptorInstances interceptorInstances)Set the interceptor instances to the given component.
-
-
-
Method Detail
-
getInterceptorInstances
InterceptorInstances getInterceptorInstances(ComponentInstance componentInstance)
- 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
-
-