Comment on page
In our previous section, we have seen all the events WireBox announces, but how do we listen? There are two ways to build WireBox listeners because there are two modes of operation, but the core is the same.
- 1.Listeners are simple CFCs who must create methods that match the name of the event they want to listen to.
These methods can take up to two parameters depending on your mode of operation (standalone or ColdBox). The one main difference between pure Wirebox listeners and ColdBox interceptors is that the
configuremethod for the standalone WireBox is different.