| Stores the event handlers. Event handlers can be assigned on a per
VelocityEngine instance basis by specifying the class names in the
velocity.properties file. Event handlers may also be assigned on a per-page
basis by creating a new instance of EventCartridge, adding the event
handlers, and then calling attachToContext. For clarity, it's recommended
that one approach or the other be followed, as the second method is primarily
presented for backwards compatibility.
Note that Event Handlers follow a filter pattern, with multiple event
handlers allowed for each event. When the appropriate event occurs, all the
appropriate event handlers are called in the sequence they were added to the
Event Cartridge. See the javadocs of the specific event handler interfaces
for more details.
author: Will Glass-Husain author: Geir Magnusson Jr. author: Jose Alberto Fernandez version: $Id: EventCartridge.java 470256 2006-11-02 07:20:36Z wglass $ |