Ticket #697 (closed enhancement: fixed)
Pass in the current executing action (method) as an argument to the handler interceptors (pre/post handler actions)
| Reported by: | lmajano | Owned by: | lmajano |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0.0 |
| Component: | ColdBox Controller | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Pass in the current executing event to the handler interceptors (pre/post handler actions) as they also need to know what runnable event is being intercepted.
This is due in part that you can have a parent current event and then multiple chained events withing a request life cycle. By adding a second parameter to the interceptor methods. The interceptors can distinguish exceptions between the main event and just runnable events.
Change History
Note: See
TracTickets for help on using
tickets.
