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 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​(javax.interceptor.InvocationContext invocationContext,
                                    javax.enterprise.inject.spi.InterceptionType interceptionType,
                                    List<javax.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