Class NamedEventConfigHandler

java.lang.Object
com.sun.faces.application.annotation.NamedEventConfigHandler
All Implemented Interfaces:
ConfigAnnotationHandler

public class NamedEventConfigHandler extends Object implements ConfigAnnotationHandler
This class handles the processing the NamedEvent annotation. For each class with this annotation, the following logic is applied:
  1. Get the unqualified class name (e.g., UserLoginEvent)
  2. Strip off the trailing "Event", if present (e.g., UserLogin)
  3. Convert the first character to lower-case (e.g., userLogin)
  4. Prepend the package name to the lower-cased name
  5. If the shortName attribute is specified, register the event by that name as well.