org.jboss.invocation
Class ImmediateInterceptorFactory
java.lang.Object
org.jboss.invocation.ImmediateInterceptorFactory
- All Implemented Interfaces:
- Serializable, InterceptorFactory
public final class ImmediateInterceptorFactory
- extends Object
- implements InterceptorFactory, Serializable
An interceptor factory which returns the same instance, always.
- Author:
- David M. Lloyd
- See Also:
- Serialized Form
ImmediateInterceptorFactory
public ImmediateInterceptorFactory(Interceptor interceptor)
- Construct a new instance.
- Parameters:
interceptor
- the interceptor to return
create
public Interceptor create(InterceptorFactoryContext context)
- Create the interceptor instance.
- Specified by:
create
in interface InterceptorFactory
- Parameters:
context
- the interceptor factory context
- Returns:
- the interceptor instance
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.