java.lang.Object
org.omnifaces.ApplicationProcessor
- All Implemented Interfaces:
FacesListener,SystemEventListener,EventListener
OmniFaces application processor. This runs when the faces application is created. This performs the following tasks:
- Check if
Application.getResourceHandler()chain is unique, otherwise log and fail. - Register the
FacesViewsview handler. - Register the
MessagesKeywordResolver.
This is invoked after ApplicationInitializer and ApplicationListener.
If any exception is thrown, then the deployment will fail, unless the "org.omnifaces.SKIP_DEPLOYMENT_EXCEPTION"
context parameter is set to true, it will then merely log a WARNING line.
- Since:
- 3.1
- Author:
- Bauke Scholtz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisListenerForSource(Object source) voidprocessEvent(SystemEvent event)
-
Constructor Details
-
ApplicationProcessor
public ApplicationProcessor()
-
-
Method Details
-
isListenerForSource
- Specified by:
isListenerForSourcein interfaceSystemEventListener
-
processEvent
- Specified by:
processEventin interfaceSystemEventListener
-