Class ResteasyBootstrap
java.lang.Object
org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
- All Implemented Interfaces:
ServletContextListener,EventListener
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReceives notification that the ServletContext is about to be shut down.voidReceives notification that the web application initialization process is starting.
-
Field Details
-
deployment
-
-
Constructor Details
-
ResteasyBootstrap
public ResteasyBootstrap()
-
-
Method Details
-
contextInitialized
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
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
-