Package org.jboss.invocation
Interface InterceptorFactory
-
- All Known Implementing Classes:
ImmediateInterceptorFactory,MethodInterceptorFactory,MethodInvokingInterceptorFactory
public interface InterceptorFactoryA producer for interceptor instances, used to create interceptor chains from a prototype.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description static InterceptorFactory[]EMPTY_ARRAYAn empty interceptor factory array.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Interceptorcreate(InterceptorFactoryContext context)Create the interceptor instance.
-
-
-
Field Detail
-
EMPTY_ARRAY
static final InterceptorFactory[] EMPTY_ARRAY
An empty interceptor factory array.
-
-
Method Detail
-
create
Interceptor create(InterceptorFactoryContext context)
Create the interceptor instance.- Parameters:
context- the interceptor factory context- Returns:
- the interceptor instance
-
-