- java.lang.Object
-
- org.omnifaces.ApplicationProcessor
-
- All Implemented Interfaces:
FacesListener,SystemEventListener,EventListener
public class ApplicationProcessor extends Object implements SystemEventListener
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
ApplicationInitializerandApplicationListener. If any exception is thrown, then the deployment will fail, unless the "org.omnifaces.SKIP_DEPLOYMENT_EXCEPTION" context parameter is set totrue, it will then merely log a WARNING line.- Since:
- 3.1
- Author:
- Bauke Scholtz
-
-
Constructor Summary
Constructors Constructor Description ApplicationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisListenerForSource(Object source)voidprocessEvent(SystemEvent event)
-
-
-
Method Detail
-
isListenerForSource
public boolean isListenerForSource(Object source)
- Specified by:
isListenerForSourcein interfaceSystemEventListener
-
processEvent
public void processEvent(SystemEvent event)
- Specified by:
processEventin interfaceSystemEventListener
-
-