...
- The server interceptor binds to the service itself (it must be executed where the service is implemented, if on Java then in Java, if on Net then in Net).
- If an interceptor has been specified, but the user has not passed the caller context through the proxy, it will be created dynamically.
- Any interceptor can change the ServiceCallContext.
- ServiceCallContext must be accessible inside the service.
- Interceptor must support resource injection.
If an interceptor throws an exception, then processing is aborted, but the exception is passed to all listed interceptors (onError)
.
Example of usage (diagram, outdated)
draw.io Diagram |
---|
border | true |
---|
| |
---|
diagramName | middleware |
---|
simpleViewer | false |
---|
width | |
---|
links | auto |
---|
tbstyle | top |
---|
lbox | true |
---|
diagramWidth | 1001 |
---|
revision | 11 |
---|
|
...