Package org.jboss.as.ejb3.component
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
-
Field Summary
Fields inherited from interface org.jboss.invocation.InterceptorFactory
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionContainerInterceptorMethodInterceptorFactory(ManagedReference interceptorInstanceRef, Method method) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.invocation.Interceptorcreate(org.jboss.invocation.InterceptorFactoryContext context) Creates and returns aInterceptorwhich invokes the underlying container-interceptor during a method invocation
-
Constructor Details
-
ContainerInterceptorMethodInterceptorFactory
public ContainerInterceptorMethodInterceptorFactory(ManagedReference interceptorInstanceRef, Method method) - Parameters:
interceptorInstanceRef- The managed reference to the container-interceptor instancemethod- 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 aInterceptorwhich invokes the underlying container-interceptor during a method invocation- Specified by:
createin interfaceorg.jboss.invocation.InterceptorFactory- Parameters:
context- The interceptor factory context- Returns:
-