I've had a similar idea! The next thing to discuss is enablement. I suppose these interceptors should be enabled globally. If so, the priority should be probably mandatory. Or at least a default value should be clearly communicated. And one more, rather implementation problem - currently the bean class of an interceptor is used to determine whether an interceptor is enabled or not. This wouldn't work anymore.
|