muoncore / newton

Extend Muon into the world of Spring. Implement Muon apis, especially around events to provide DDD patterns natively in Spring Boot
http://muoncore.io
GNU Lesser General Public License v3.0
12 stars 5 forks source link

On startup, @EventHandler methods should have their method type checked #64

Open daviddawson opened 7 years ago

daviddawson commented 7 years ago

Only NewtonEvents should be accepted by @EventHandler methods. If they aren't, then the error appears transparent and isn't obvious why the mapping isn't occurring.

This should fail the boot up very noisily with an explanation.