A new idea
For my spring integration I'm passed through the RegistryConfiguration, but override the scanner could be a (better?) solution.
It's allow ..
- reuse mechanism to retrieve action and method (In my implementation I've duplicate a part of code (ActionScanner)).
- change annotation type (ex: use is own annotation with more params).To do that the Scanner instantiation should be done in a createMethod() and almost all method should be protected .
- change annotation detection (ex: spring allow to find annotation through inheritance contrary to myClass.getAnnotation() ) .
- change method name prefix.