Class ContainerInterceptorMethodInterceptorFactory

  • All Implemented Interfaces:
    org.jboss.invocation.InterceptorFactory

    public final class ContainerInterceptorMethodInterceptorFactory
    extends Object
    implements org.jboss.invocation.InterceptorFactory
    An InterceptorFactory responsible for creating Interceptor instance corresponding to a container-interceptor applicable for an Jakarta Enterprise Beans
    Author:
    Jaikiran Pai
    • Constructor Detail

      • ContainerInterceptorMethodInterceptorFactory

        public ContainerInterceptorMethodInterceptorFactory​(ManagedReference interceptorInstanceRef,
                                                            Method method)
        Parameters:
        interceptorInstanceRef - The managed reference to the container-interceptor instance
        method - The method for which the interceptor has to be created
    • Method Detail

      • create

        public org.jboss.invocation.Interceptor create​(org.jboss.invocation.InterceptorFactoryContext context)
        Creates and returns a Interceptor which invokes the underlying container-interceptor during a method invocation
        Specified by:
        create in interface org.jboss.invocation.InterceptorFactory
        Parameters:
        context - The interceptor factory context
        Returns: