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 Summary
Fields Modifier and Type Field Description protected ResteasyDeploymentdeployment
-
Constructor Summary
Constructors Constructor Description ResteasyBootstrap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(ServletContextEvent event)Receives notification that the ServletContext is about to be shut down.voidcontextInitialized(ServletContextEvent event)Receives notification that the web application initialization process is starting.
-
-
-
Field Detail
-
deployment
protected ResteasyDeployment deployment
-
-
Method Detail
-
contextInitialized
public void contextInitialized(ServletContextEvent event)
Description copied from interface:ServletContextListenerReceives 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:
contextInitializedin interfaceServletContextListener- Parameters:
event- the ServletContextEvent containing the ServletContext that is being initialized
-
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
Description copied from interface:ServletContextListenerReceives 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:
contextDestroyedin interfaceServletContextListener- Parameters:
event- the ServletContextEvent containing the ServletContext that is being destroyed
-
-