org.richfaces.webapp

## Class ServletsInitializer

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

- All Implemented Interfaces:
    javax.servlet.ServletContainerInitializer

      public class ServletsInitializer
      extends Object
      implements javax.servlet.ServletContainerInitializer

  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.
      Specified by:
        `onStartup` in interface `javax.servlet.ServletContainerInitializer`
      Throws:
        `javax.servlet.ServletException`

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