I am new to working with Spring on regular basis so I had a basic design question on it.
Should the concept of interceptors be used for separating out business logic in an application. E.g. A method getData is called from 3 classes/ One of the 3 needs some more processing before reaching the data. This processing is not a concern like logging etc which seems to be used more in examples for interceptors (I am basing this purely on my limited reading of Manning book), but a proper business logic of the app.
Should I be using interceptor here at all or normal if else or overriding should be used?
This has been my general curiosity to understand that whether interceptors only make sense for framework level concerns?