org.richfaces.webapp

## Class ResourceServletContainerInitializer

- java.lang.Object
- - org.richfaces.webapp.GenericServletContainerInitializer
  - - org.richfaces.webapp.ResourceServletContainerInitializer

- All Implemented Interfaces:
    javax.servlet.ServletContainerInitializer

      public class ResourceServletContainerInitializer
      extends GenericServletContainerInitializer

  Initializes `ResourceServlet`.

  Initialization can be turned of by "org.richfaces.resources.skipResourceServletRegistration" context parameter.

  Author:
    Lukas Fryc

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `EDITOR_RESOURCES_DEFAULT_MAPPING`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ResourceServletContainerInitializer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onStartup(Set<Class<?>> c, javax.servlet.ServletContext servletContext)`

    - ### Methods inherited from class org.richfaces.webapp.GenericServletContainerInitializer

      `getServletRegistration, hasFilterMapping`

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

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

- - ### Field Detail

    - #### EDITOR_RESOURCES_DEFAULT_MAPPING

          public static final String EDITOR_RESOURCES_DEFAULT_MAPPING

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ResourceServletContainerInitializer

          public ResourceServletContainerInitializer()

  - ### Method Detail

    - #### onStartup

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

      Throws:
        `javax.servlet.ServletException`

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