Package dk.cloudcreate.essentials.shared.interceptor


package dk.cloudcreate.essentials.shared.interceptor
  • Class
    Description
    DefaultInterceptorChain<OPERATION,RESULT,INTERCEPTOR_TYPE extends Interceptor>
    Default implementation for the InterceptorChain.
    Each interceptor, configured on the method allows you to perform before, after or around interceptor logic according to your needs.
    The Interceptor is built around supporting Intercepting specific Operations, where an Operation is determined by the user of the Interceptor.
    InterceptorChain<OPERATION,RESULT,INTERCEPTOR_TYPE extends Interceptor>
    Generic interceptor chain concept that supports intercepting concrete Interceptor operations to modify the behaviour or add to the default behaviour
    Annotation that can be applied to interceptors to control their order of execution in the InterceptorChain
    The lower the number the higher the priority.
    An interceptor with order 1 will be invoked before an interceptor with order 10.