Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
5.0

E21717-02


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.


Method Summary
 Object invoke(Context context)
          Invoke the interceptor with the current interceptor Context.

 

Method Detail

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

Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
5.0

E21717-02


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.