public class InitializationListener extends Object implements javax.faces.event.SystemEventListener
Listens for application's PostConstructApplicationEvent and PreDestroyApplicationEvent events in order to initialize RichFaces services.
| Constructor and Description |
|---|
InitializationListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultModules(List<Module> modules)
Adds default application modules
|
protected ServicesFactory |
createFactory()
Creates
ServiceFactory that holds references to RichFaces application singletons |
boolean |
isListenerForSource(Object source) |
protected void |
onStart()
Called on application startup
|
protected void |
onStop()
Called when application is being destroyed
|
void |
processEvent(javax.faces.event.SystemEvent event) |
protected void onStart()
protected void onStop()
protected ServicesFactory createFactory()
ServiceFactory that holds references to RichFaces application singletonsprotected void addDefaultModules(List<Module> modules)
public void processEvent(javax.faces.event.SystemEvent event)
throws javax.faces.event.AbortProcessingException
processEvent in interface javax.faces.event.SystemEventListenerjavax.faces.event.AbortProcessingExceptionpublic boolean isListenerForSource(Object source)
isListenerForSource in interface javax.faces.event.SystemEventListenerCopyright © 2014 JBoss by Red Hat. All Rights Reserved.