org.richfaces.webapp

## Class ServletsInitializer

- java.lang.Object
- - org.richfaces.webapp.ServletsInitializer

-     public class ServletsInitializer
      extends Object

  Runs all servlet container initializers listed in `INITIALIZERS`.

  Author:
    Lukas Fryc

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServletsInitializer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onStartup(Set<Class<?>> classes, javax.servlet.ServletContext servletContext)` Takes classes listed in `INITIALIZERS` and tries to initialize them as `ServletContainerInitializer`s.

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

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

- - ### Constructor Detail

    - #### ServletsInitializer

          public ServletsInitializer()

  - ### Method Detail

    - #### onStartup

          public void onStartup(Set<Class<?>> classes,
                       javax.servlet.ServletContext servletContext)
                         throws javax.servlet.ServletException

      Takes classes listed in `INITIALIZERS` and tries to initialize them as `ServletContainerInitializer`s.
      Throws:
        `javax.servlet.ServletException`

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