org.richfaces.services

## Class InitializationListener

- java.lang.Object
- - org.richfaces.services.InitializationListener

- All Implemented Interfaces:
    EventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListener

      public class InitializationListener
      extends Object
      implements javax.faces.event.SystemEventListener

  Since:
    4.0
  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InitializationListener()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `addDefaultModules(List<Module> modules)`
    `protected ServicesFactory` | `createFactory()`
    `boolean` | `isListenerForSource(Object source)`
    `protected void` | `onStart()`
    `protected void` | `onStop()`
    `void` | `processEvent(javax.faces.event.SystemEvent event)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### InitializationListener

          public InitializationListener()

  - ### Method Detail

    - #### isListenerForSource

          public boolean isListenerForSource(Object source)

      Specified by:
        `isListenerForSource` in interface `javax.faces.event.SystemEventListener`

    - #### onStart

          protected void onStart()

    - #### createFactory

          protected ServicesFactory createFactory()

    - #### addDefaultModules

          protected void addDefaultModules(List<Module> modules)

    - #### onStop

          protected void onStop()

    - #### processEvent

          public void processEvent(javax.faces.event.SystemEvent event)
                            throws javax.faces.event.AbortProcessingException

      Specified by:
        `processEvent` in interface `javax.faces.event.SystemEventListener`
      Throws:
        `javax.faces.event.AbortProcessingException`

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.