Class ContainerInterceptorMethodInterceptorFactory

java.lang.Object
org.jboss.as.ejb3.component.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 a Jakarta Enterprise Beans bean.
Author:
Jaikiran Pai
  • Constructor Details

    • 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 Details

    • 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: