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 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)
-
-
-
Field Detail
-
deployment
protected ResteasyDeployment deployment
-
-
Method Detail
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
-