You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
There isn't, methods need to be annotated individually. If you're looking for a bulk approach I'd strongly consider using spring-aop. You would have to write a class which implements org.aopalliance.intercept.MethodInterceptor, but then you'd be able to instrument all your classes in a couple lines of XML:
It looks like the interceptor you are describing has similar functionality to your MeteredMethodInterceptor, TimedMethodInterceptor ....
Is it possible to reuse them?
Instances of the MeteredMethodInterceptor, etc in this project are all specific to one class and scan its methods for annotations. You'd do better to start from scratch.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a way to manage "hundreds" of classes with "hundreds" of methods with multiple annotations?
The text was updated successfully, but these errors were encountered: