Package org.apache.myfaces.config
Class NamedEventManager
java.lang.Object
org.apache.myfaces.config.NamedEventManager
The NamedEventManager class is used to keep map a short name to ComponentSystemEvent classes
 annotated with @NamedEvent.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddNamedEvent(String shortName, Class<? extends ComponentSystemEvent> cls) Registers a named event.Collection<Class<? extends ComponentSystemEvent>>getNamedEvent(String shortName) Retrieves a collection of system event classes based on their short name.
- 
Constructor Details- 
NamedEventManagerpublic NamedEventManager()
 
- 
- 
Method Details- 
addNamedEventRegisters a named event.- Parameters:
- shortName- a String containing the short name for the event, from the @NamedEvent.shortName() attribute.
- cls- the event class to register.
 
- 
getNamedEventRetrieves a collection of system event classes based on their short name.- Parameters:
- shortName- the short name to look up.
- Returns:
- a Collection of Class objects containing the system event classes registered to the given short name.
 
 
-