Package org.jboss.invocation
Class MethodInvokingInterceptorFactory
- java.lang.Object
-
- org.jboss.invocation.MethodInvokingInterceptorFactory
-
- All Implemented Interfaces:
InterceptorFactory
public final class MethodInvokingInterceptorFactory extends Object implements InterceptorFactory
A factory for method invoking interceptors.- Author:
- David M. Lloyd
-
-
Field Summary
-
Fields inherited from interface org.jboss.invocation.InterceptorFactory
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description MethodInvokingInterceptorFactory(InterceptorInstanceFactory instanceFactory, Method method)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Interceptorcreate(InterceptorFactoryContext context)Create the interceptor instance.
-
-
-
Constructor Detail
-
MethodInvokingInterceptorFactory
public MethodInvokingInterceptorFactory(InterceptorInstanceFactory instanceFactory, Method method)
Construct a new instance.- Parameters:
instanceFactory- the instance factorymethod- the method to invoke
-
-
Method Detail
-
create
public Interceptor create(InterceptorFactoryContext context)
Create the interceptor instance.- Specified by:
createin interfaceInterceptorFactory- Parameters:
context- the interceptor factory context- Returns:
- the interceptor instance
-
-