com.bea.wlcp.wlng.api.interceptor
Interface Interceptor
- public interface Interceptor
Interface that must be implemented by an interceptor. Note that it is the
responsability of each interceptor to invoke the next interceptor
using the invokeNext() method of the Context.
- Copyright © 2008 Oracle Corporation Systems, Inc. All Rights Reserved.
|
Method Summary |
Object |
invoke(Context context)
Invoke the interceptor with the current interceptor Context. |
invoke
public Object invoke(Context context)
throws Exception
- Invoke the interceptor with the current interceptor Context.
The interceptor returns a value that will be returned to the
caller of the first interceptor.
Note: it is up to the Interceptor to ensure that it is thread-safe.
- Parameters:
context - The interceptor context
- Returns:
- the return value of the interceptor
- Throws:
Exception - An exception thrown by the interceptor to deny the request