JSF Central - Articles & Books
JSF Central

 
 Home 
 
 News 
 
 FAQ 
 
 Products 
 
 Articles & Books 
 
 Resources 
Articles & Books > Blog Postings
JSF PhaseListeners With Annotations
Posted: January 20, 2010Published: December 21, 2009
Author: Murat Alpay
Although JSF 2 moved most of it's configuration to annotations still some must be made on xml's, like the phase listeners. The most straight forward way to implement a mechanism that would enable defining them with annotations are treating phase listeners as singletons. Than we could simply annotate static methods with after phase, before phase annotations.


RSS feed(all feeds)
RSS feed(reading)

The Editor's Desk
Podcasts
Inside Facelets
In the Trenches

Site version 1.83  Report web site problems

Copyright (C) 2003-2011 Virtua, Inc. All Rights Reserved. Java, JavaServer Faces, and all Java-based marks are trademarks or registered trademarks of Oracle Corporation. in the United States and other countries. Virtua, Inc. is independent of Sun Microsystems, Inc. All other trademarks are the sole property of their respective owners.