...
Interceptor is located and executed where the service is implemented (for Java service - on Java side, for .NET-service on .NET side). Its execution should not cause additional serialization).
...
The user can specify multiple interceptors.Each interceptor invokes the next interceptor in the chain using a delegated call, the last interceptor will call the service method.
So interceptor calls the delegated method call (or the next interceptor), so the interceptor specified first in the configuration will process the result of the service method execution last.
draw.io Diagram | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Interceptor must support the injection of generic resources.
Interceptor only applies to user-defined service methods and does not apply to service lifecycle methods - init, execute andcancel,
...