Class ResteasyBootstrap

java.lang.Object
org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
All Implemented Interfaces:
ServletContextListener, EventListener

public class ResteasyBootstrap extends Object implements 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 Details

  • Constructor Details

    • ResteasyBootstrap

      public ResteasyBootstrap()
  • Method Details

    • contextInitialized

      public void contextInitialized(ServletContextEvent event)
      Description copied from interface: ServletContextListener
      Receives notification that the web application initialization process is starting.

      All ServletContextListeners are notified of context initialization before any filters or servlets in the web application are initialized.

      Specified by:
      contextInitialized in interface ServletContextListener
      Parameters:
      event - the ServletContextEvent containing the ServletContext that is being initialized
    • contextDestroyed

      public void contextDestroyed(ServletContextEvent event)
      Description copied from interface: ServletContextListener
      Receives notification that the ServletContext is about to be shut down.

      All servlets and filters will have been destroyed before any ServletContextListeners are notified of context destruction.

      Specified by:
      contextDestroyed in interface ServletContextListener
      Parameters:
      event - the ServletContextEvent containing the ServletContext that is being destroyed