Definition of annotation dedicated to intercept annotated element calls.
Bases: b3j0f.annotation.core.Annotation
Annotation able to intercept annotated elements.
attribute name for enable the interception
interception attribute name
interceptor attribute name
Bases: exceptions.Exception
Handle Interceptor errors.
pointcut attribute name
Self target interception if self is enabled
Parameters: | joinpoint – advices executor |
---|
(Dis|En)able annotated interceptors.
Bases: b3j0f.annotation.interception.Interceptor
Interceptor with a private interception resource.
Bases: b3j0f.annotation.interception.Interceptor
Interceptor dedicated to intercept call of annotated element.
Instead of Interceptor, the pointcut equals ‘__call__’, therefore, the target may be a class instead of an instance beceause python does not handle system methods (such as __call__, __repr__, etc.) if they are overriden on instance.
It could be used to intercepts annotation binding annotated by self.
Bases: b3j0f.annotation.interception.CallInterceptor
Interceptor dedicated to apply a private interception on target calls.
Instead of Interceptor, the pointcut equals ‘__call__’, therefore, the target may be a class instead of an instance beceause python does not handle system methods (such as __call__, __repr__, etc.) if they are overriden on instance.