Package org.jboss.resteasy.plugins.server.servlet

## Class ResteasyBootstrap

- java.lang.Object
- - org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap

- All Implemented Interfaces:
    `EventListener`, `javax.servlet.ServletContextListener`

      public class ResteasyBootstrap
      extends Object
      implements javax.servlet.ServletContextListener

  This is a ServletContextListener that creates the registry for resteasy and stuffs it as a servlet context attribute
  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected ResteasyDeployment` | `deployment` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ResteasyBootstrap()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `contextDestroyed​(javax.servlet.ServletContextEvent event)` |
    `void` | `contextInitialized​(javax.servlet.ServletContextEvent event)` |

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

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

- - ### Field Detail

    - #### deployment

          protected ResteasyDeployment deployment

  - ### Constructor Detail

    - #### ResteasyBootstrap

          public ResteasyBootstrap()

  - ### Method Detail

    - #### contextInitialized

          public void contextInitialized​(javax.servlet.ServletContextEvent event)

      Specified by:
        `contextInitialized` in interface `javax.servlet.ServletContextListener`

    - #### contextDestroyed

          public void contextDestroyed​(javax.servlet.ServletContextEvent event)

      Specified by:
        `contextDestroyed` in interface `javax.servlet.ServletContextListener`