JBoss Application Server: Build 7.1.2.Final
-
- All Implemented Interfaces:
- Interceptor
public final class MethodInvokingInterceptor
extends Object
implements Interceptor
An interceptor which always invokes one specific method on one specific object given the parameters from
the invocation context.
- Author:
- David M. Lloyd
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
processInvocation
public 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.
- Specified by:
processInvocation
in interface Interceptor
- Parameters:
context
- the interceptor context
- Returns:
- the result of the invocation
- Throws:
Exception
- If the underlying invocation resulted in some exception
JBoss Application Server: Build 7.1.2.Final
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.