velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Byron Foster (JIRA)" <...@velocity.apache.org>
Subject [jira] Created: (VELOCITY-691) Change context event handling for better efficiency.
Date Tue, 10 Feb 2009 10:55:07 GMT
Change context event handling for better efficiency.
----------------------------------------------------

                 Key: VELOCITY-691
                 URL: https://issues.apache.org/jira/browse/VELOCITY-691
             Project: Velocity
          Issue Type: Improvement
          Components: Engine
    Affects Versions: 2.0
            Reporter: Byron Foster


Change Context Event handling API so that The Context EventCartridge is initialized with the
global EvenCartridge.  Then during rendering only the Context EventCartridge needs to be checked
instead of potentially two.  Additionally, add addEventHandler method to the Velocity context
to simply add an EventHandler to the existing EventCartridge.  Doing this would also initialize
 the handler.  VelocityContext.setEventCartridge will replace the existing EventCartrige which
means that global event handlers will also be replaced.

This change provides much faster event handling processing, and provides greater flexibility
at the context level of controlling event handling.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Mime
View raw message