org.jboss.invocation
Interface Interceptor
- All Known Implementing Classes:
- ContextClassLoaderInterceptor, InitialInterceptor, MethodInterceptor, MethodInvokingInterceptor
public interface Interceptor
A processor for invocations. May perform some action, including but not limited to handling the invocation, before
or in lieu of passing it on to the dispatcher or another processor.
- Author:
- Carlo de Wolf, David M. Lloyd
processInvocation
Object processInvocation(InterceptorContext context)
throws Exception
- Process an invocation. The invocation can be handled directly, or passed on to the next processor in the
chain.
- Parameters:
context
- the interceptor context
- Returns:
- the result of the invocation
- Throws:
Exception
- If the underlying invocation resulted in some exception
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.