caelum/vraptor4 — pull request #436 by lucascs (2014-03-18 02:37:43+00:00)
Title: :polemico: Simplifying Events

- `NewRequest` now holds the corresponding `RequestInfo`
- `ControllerMethod` turned into an event, so we can remove `ControllerMethodDiscovered`. `@Observes ControllerMethod` reads just fine, IMHO.
- `MethodInfo` now observes changes in `ControllerMethod` and `@Produces` it, so we can remove `ControllerMethodFactory`.

I tried to remove `NewRequest` also, but there is some weird dependency.
WANT: remove CDIProvider.

What do you think?