dev@javaserverfaces.java.net

[REVIEW] Issue #66 - Possible Optimization regarding execution of PhaseListeners

From: Jacob Hookom <jacob_at_hookom.net>
Date: Wed, 17 Nov 2004 00:10:17 -0600

https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=66

-Kept original TestLifecycleImpl the same and modified exception scoping
according to Ed's request.
-All tests in their original state run successfully with this changebundle
-Listeners fired in beforePhase will be put into a second list which is used to
fire off the afterPhase in reverse order... this is to garauntee that any
phaselistener fired in beforePhase will have the *opportunity* to fire
afterPhase even if it's internal state changes
-Use ArrayList cloning to remove the need of synchronization blocks in the
execution of a phase (the work horse method).

-Jacob


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net