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
  Direct Known Subclasses:
    GuiceResteasyBootstrapServletContextListener

      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 and Description
    --- | ---
    `protected ResteasyDeployment` | `deployment`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ResteasyBootstrap()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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`

Copyright © 2014. All Rights Reserved.