Package sting.interceptors
package sting.interceptors
Compile-time interceptor annotations used by Sting.
These annotations describe interceptor bindings and lifecycle metadata. Sting consumes them during annotation processing and emits direct proxy code; generated runtime code does not inspect annotations reflectively.
-
Annotation InterfacesClassDescriptionMarks a public interceptor lifecycle method that runs after a successful target service method call.Marks a public interceptor lifecycle method that runs after an inner interceptor or target service method throws.Marks a lifecycle method parameter that receives the target service method arguments as a read-only array.Marks a public interceptor lifecycle method that runs before the target service method.Marks a lifecycle method parameter that receives a compile-time scalar member value from the binding annotation.Marks an annotation type as an interceptor binding.Marks a lifecycle method parameter that receives the intercepted service method name.Marks an
Afterlifecycle method parameter that receives the target service method result.Marks a lifecycle method parameter that receives the intercepted service interface type name.Marks anAfterExceptionlifecycle method parameter that receives the thrown failure.